How to set "Dirty" view flag to make a system call WDDOMODIFYVIEW again

Hi!
When a button is hit I want to mark my view "Dirty" so that system call WDDOMODIFYVIEW again. I need this to refresh/rebuild the view after user action.

Anurag, you right. I've created simple WD application and WDDOMODIFYVIEW is called after every button hit.
But it my case I've added button to a standard component (FPM_OIF_COMPONENT) by means of Enhancement Points. And hitting this button does not lead to call of WDDOMODIFYVIEW method. Though all standard buttons in the componend do lead to call of this method.
Strange behavior.
I thought, may be there is a way to "force" system to invoke this method. Like set view to some status "Needs to be redrawn", "Dirty", "Invalid", etc.

Similar Messages

  • How to set the view privilege of a portlet?

    Dear all,
    I would like to ask how to set the view privilege of a portlet (which is located on the Intranet homepage) to only a group of users?
    As far as I know, I can create a tab with view privilege to address the about scenario. But is it possible to directly set the view privilege to the portlet ?
    thanks
    George (HK)
    Welcome to my photo albums at http://community.webshots.com/user/GeorgeLee80
    Message was edited by:
    georgelkh

    OK, you got me there George. I don't know where you can set view rights to an out of box portlet. So how about a different approach?
    1) Create a blank page with no nav bar or anything else
    2) Assign the group you want to see the notifications portlet view rights on the page
    3) Make sure the show as portlet check box is checked on the Optional tab in the page properties
    4) Add the notifications portlet to the page
    5) Ensure the portlet settings are how you desire in terms of what notifications to show and the region settings are how they should be in terms of border, headers, etc
    6) Edit the page where you want the notifications portlet to be shown and add the page portlet you just created instead of the notification portlet
    This should achieve what you seek without having to dig into out-of-box portlets.
    Rgds/Mark M.

  • How do i make UNIX system calls in Java app?

    Is it possible to make UNIX system calls in a java app? I.E. perform a file copy/move to another machine within a program.
    Thanks,
    Erik

    If there is a command line tool then you use Runtime.exec() otherwise you have to use JNI.
    If you want to access shared libraries you might want to look at www.swig.org

  • How to set the view, which has to be shown at runtime?

    Hi,
    in my application i have more than one view, but at runtime only one of these views has to be shown. I want to decide this via a parameter that I get from the url.
    How can i set the right view to be showing at runtime?
    I tried it with a StartView which fires the right Outbound Plug in his wdDoInit-Method. This is working fine, but the problem is, that the method OnPlugDefault() of ComponentInterfaceViewController isn't called already at this time. So in the Init-Method of the StartView I don't have the given URL Parameter, so I can't decide which Plug I want to fire. The method OnPlugDefault() is called only after the init-method of the StartView.
    Is there any other possibilty to set the view, which has to be shown, at runtime?
    Thanks and Best Regards
    Katharina

    Hi,
    One way is you can pass the parameter in the URL , read the parameter and then fire the outbound plug depending upon that.
    You can read the parameters as follows
    HttpServletRequest request =Task.getCurrentTask()
         .getWebContextAdapter()
         .getHttpServletRequest();
    String[] param1 = request.getParameterValues("<<PARAMETRNAME");
    if(param1.equals("VALUE"))
      fire outbound plug1;
    Regards, Anilkumar

  • How to set default view in Adobe Reader 9?

    I am trying to figure out how to set adobe reader so that when you open a document you automatically get the page view on the right side come up and the document in full mode.  I have researched registry edits and also the customize wizard with no luck.  Does Adobe Reader have the capability to set these as defaults on any document?  I have the application setup to remember what I did so if I open the same document it will show pages and be in full mode; however, if I open a new document, I have to select the icon on the left to display pages and then set to full mode.  Thanks Joe

    Does Adobe Reader have the capability to set these as defaults on any document?
    Adobe Acrobat can do this, not Adobe Reader.

  • How to set default view for preview?

    Every time I open a PDF using Preview I have to set the view to 'thumbnails', then 'two pages up', then adjust the zoom. Complete waste of time.
    Anyone know how to set defaults so that it opens in a predictable way?
    thanks,

    I customized my Toolbar to look like the following. Click the middle button that has the 1 circled. That tells Preview to remember to display pages at actual size (100%). Every file that I open now displays at 100%.

  • How to set the View instance and view  attribute to lov field ?

    Hi
    I created lov and textfield programatically.
    I want to set the viewattribute and view instance to that items(lovbean, texfieldbean).
    How to set programatically?
    Thanks in Advance
    Awadesh

    Hi
    Thanks. Its working fine. But now i got some another issue.
    after setting, i put simple system.out.println(Pagecontext.getparameter("idoflov"));
    But it returns null value.
    why. Actully i want to pass this value (according to my requirement).
    The view instance and view attribute are setting correctly. But after that i checked means it returns null value .
    plz let me know.
    Thanks

  • How to set PS GLOBAL FLAGS

    Hi,
    I am trying to set PS Global Flags (e.g. pre-commit and initialized flags) but the changes I made are not reflected in the system. I tried using the FM 'PS_FLAG_SET_GLOBAL_FLAGS'.
    I am not that familiar in this module so any info you can provide would be greatly appreciated.
    Thanks,
    Ian

    hello,
    use this bapi
    BAPI_PS_INITIALIZATION
    for setting global flags
    regards
    afzal

  • How to set the root path of XML document when calling Inserting procedure

    Hi,
    I was create a procedure to insert XML Document in to DBMS Tables, but i am not able to set the Start root element in calling procedure.
    My calling procedure is
    exec insXmldoc('pmc_sample.xml', 'pmc')
    When i am calling this procedure i got this error
    11:23:54 Error: ORA-29532: Java call terminated by uncaught Java exception: oracle.xml.sql.OracleXMLSQLException: Start of root element expected.
    ORA-06512: at "SYS.DBMS_XMLSAVE", line 65
    ORA-06512: at "SCOTT.INSPROC", line 8
    ORA-06512: at line 2
    I am checking my XML file using XML Validator. My XML file was parsed with out errors.
    Please give the solution,and tell me where i did wrong in my calling procedure.
    suppose i have this XML file in local E drive ,how to set the path for that XML file in my calling procedure.

    Hi, I am doing the code likthis,please give the solution.
    SQL> create or replace procedure insProc(xmlDoc IN CLOB, tableName IN VARCHAR2) is
    2 insCtx DBMS_XMLSave.ctxType;
    3 l_ctx dbms_xmlsave.ctxtype;
    4 rows number;
    5 begin
    6 insCtx := DBMS_XMLSave.newContext(tableName); -- get the context handle
    7 rows := DBMS_XMLSave.insertXML(insCtx,xmlDoc); -- this inserts the document
    8 DBMS_XMLSave.closeContext(insCtx); -- this closes the handle
    9 end;
    10 /
    Procedure created.
    SQL> begin
    2 insProc('/usr/tmp/ROWSET.xml', 'emp');
    3 end;
    4 /
    begin
    ERROR at line 1:
    ORA-29532: Java call terminated by uncaught Java exception: oracle.xml.sql.OracleXMLSQLException:
    Start of root element expected.
    ORA-06512: at "SYS.DBMS_XMLSAVE", line 65
    ORA-06512: at "SCOTT.INSPROC", line 7
    ORA-06512: at line 2
    Kishore B

  • PDF through VBA: How to set Initial View?

    - Adobe Acrobat 6.0 (sorry we're a bit out of date)
    - MS Office 2003
    - MS Windows XP Professional SP2
    I am trying to automate the creation of PDFs from MS Word. I have succeeded. My VBA code works fine (have pasted it below). I can create a PDF, and give it a title and author.
    The problem I am having is with the Initial View settings, i.e. how the document opens. I want to hardcode:
    1. Show to "Page Only"
    2. Page Layout to "Continuous"
    3. Magnification to "Fit Width"
    The first I have done, using AcroExch.PDDoc's SetPageMode() function (although it seems to default to that even without doing this). I cannot, for the life of me, find any reference to the second and third, though. This must be doable, right? Be kind of weird not to have access to this in the API.
    Hours of Googling has thrown up three ideas I've discarded.
    1. AcroExch.App's SetPreference() function. This would presumably change preferences on the machine making the PDF, not reading it. I don't want to fiddle with other people's preferences anyway.
    2. AcroExch.AVPageView's ZoomTo() function. Ditto. I am not creating an app to view PDFs, just trying to configure the default for opening one I've created.
    3. An "undocumented" SetOpenInfo() in AcroExch.PDDoc. This looked the most promising for Magnification, but nobody seems to be able to get it to work, and it does nothing for me either. Someone somewhere even suggested it had been deprecated in later versions of Acrobat.
    So... what do I do?
    Thanks in advance for any pointers.
    jON
    ===============================================
    Sub MakePDF(strFilename As String, strTitle As String, strAuthor As String)
    Dim pdfD As PdfDistiller
    Dim strPDFName As String
    Dim strPSName As String
    strPSName = strFilename & ".ps"
    strPDFName = strFilename & ".pdf"
    '... make PS
    Application.ActivePrinter = myPDFPrinter
    Application.PrintOut Filename:="", _
    Range:=wdPrintAllDocument, _
    Item:=wdPrintDocumentContent, _
    Copies:=1, _
    Pages:="", _
    PageType:=wdPrintAllPages, _
    ManualDuplexPrint:=False, _
    Collate:=True, _
    Background:=False, _
    PrintToFile:=True, _
    PrintZoomColumn:=0, _
    PrintZoomRow:=0, _
    PrintZoomPaperWidth:=0, _
    PrintZoomPaperHeight:=0, _
    OutputFileName:=strPSName, _
    Append:=False
    '... make PDF
    Set pdfD = New PdfDistiller
    pdfD.FileToPDF strPSName, strPDFName, ""
    '... tag PDF
    Set qq = CreateObject("AcroExch.PDDoc")
    b = qq.Open(strPDFName)
    b = qq.SetInfo("Title", strProperties_Title)
    b = qq.SetInfo("Author", strProperties_Author)
    b = qq.SetPageMode(1) '... 1 = PDUseNone
    b = qq.Save(33, strPDFName) '... 33 = PDSaveFull (1) OR PDSaveCollectGarbage (32)
    b = qq.Close
    End Sub

    I have the same problem. I need to change Initial View Settings configuring the following settings
    2. Page Layout to "Single Page"
    3. Magnification to "Fit Width"
    My software configuration is as follows:
    - Adobe Acrobat 7.9
    - Microsoft Windows XP SP2
    - Visual Basic 6
    Has anyone worked with this attributes of Acrobat?

  • How to set different view parameter programmatically in the same task flow

    Hello everyone,
    I have a view activity A that calls another view activity B with a link. In this link the action is set to a method (I use JSFUtils class: http://jdeveloper-adf.googlecode.com/svn/trunk/TGPrototype2/ViewController/src/com/tgslc/defaultManagement/utils/JSFUtils.java):
    public String goToB() {
    String paramToPass = "someParameterTakenInSomeWay";
    JSFUtils.setExpressionValue("#{pathToViewB_pageBPageDef.paramName}",paramToPass);
    return "openActivityB";
    where openActivityB is the control flow case to call B.
    In the B pageDef file I have set a parameter "paramName" without any value:
    <?xml version="1.0" encoding="UTF-8" ?>
    <pageDefinition xmlns="http://xmlns.oracle.com/adfm/uimodel"
    version="11.1.1.59.23" id="pageBPageDef">
    <parameters>
    <parameter id="paramName"
    value=""/>
    </parameters>
    <executables/>
    <bindings/>
    </pageDefinition>
    But at running time I have a oracle.jbo.expr.JIEvalException:
    JBO-25077: Name paramName not found in the specified object: pathToViewB_pageBPageDef.
    The question is: how can I set the parameter programmatically from the view activity A?
    Note that I use this method to set the parameter because in the real application I have many "view activity A" that will call B, but all of these have to set this parameter.
    I use JDeveloper 11.1.1.4.
    Thanks in advance,
    Baduel

    Hi,
    this is because PageDef B represents a binding container that is not active to the time you try to call it. The binding container becomes available when navigating to the page but not before. Instead:
    1. define a managed bean in pageFlowScope and expose a setter/getter method to hold the value to pass on
    2. Reference the managed bean in pageFlowScope from the attributebinding NDValue property using EL
    3. Set the managed bean value before navigating to view B
    Frank

  • How to set a view in display mode??

    Hi,
    I have created a new view in overview page of BT111H_OPPT.
    This view is of table type and associated with value node .
    I am able to display contents of table on UI but they are in editable mode.
    I need them in display mode .
    How to achieve this functionlaity??
    Any suggestions will be helpful.
    thanks
    kanika

    Hi Kanika,
    There are 2 ways:
    In the configuration of your view you can set the fields as display mode.
    In the method get_i* of your atributtes you can disable the field too.
    I think the better solution is using the configuration.
    Best regards,
    Caíque Escaler

  • How to set default view and commands

    I have Acrobat Standard 9, and I wish to set the default for opening files to a full page view with one-page-at-a-time scrolling.  I routinely open many PDF files and have to scroll through the entire document.
    I managed to get the full page view to work, but not the full page scrolling .  Currently, when I open the document, the mouse wheel scrolls the document continuously several lines at a time.  What I want is for the mouse wheel to scroll the document one full page at a time (page up/page down).  I can manually set this by selecting the "Full Page" button on the tool bar (the one with the four arrows), however this is another step I have to perform each time I open a document.
    Is there any way to set the full-page scroll by default?

    Thank you for your help with this.
    Although I can not fix the default view, changing the document properties at least allows me to regulate how it opens the next time.  (Almost as good).
    If anyone from Adobe reads this, a tip for the next version: Please include a setting that would include a forced default view.

  • 10.6.6 - How to set custom view options for specific folders

    How is it that Windows has had the ability to ability to set custom folder view options forever and OSX can't. What is the big deal? Just do it. Whenever I set the folder view options it changes the view for all the folders. I can do folder specific changes as long as the finder window is open then I close it and open it again every folder is the same again. It's just an annoyance and it's something so rudimentary it's embarrassing.

    Try the following:
    I want to have, say, one folder in list view
    Open that folder, set it to list view, type command-J, and in the view-options window that opens, check the box at the top for "Always open in list view".
    then the subfolder of that folder I want to have in cover flow view. permanently.
    Open that folder, change it to cover-flow view, and in the view-options window check the box at the top for "Always open in cover-flow."
    Those two folders should "remember" the custom views that were set for them.
    There's additional discussion about the meaning of the"Use as defaults" button in this thread
    http://discussions.apple.com/thread.jspa?messageID=13063792
    My own take is that folders that have not been customized by checking the "Always open in xxx view" box will by default open in the same view (icon vs list vs column, etc) that was in effect for the previously opened folder. *Within each view*, you can set the default parameters (text size, etc) for a new folder by setting up a folder the way you like and then checking the view options box for "Use as defaults" at the bottom.

  • [OT: Windows] How to set Browser View Menu to Thumbnail?

    Viewing a folder of jpg's is much nicer if I browse using the;
    View Menu >>> Thumbnail mode
    Does anyone know how to make LabIEW's File Path Browser assume this mode programatically?
    Thank you,
    Ben
    Message Edited by Ben on 05-29-2008 11:11 AM
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction
    Attachments:
    Path_Control.PNG ‏275 KB
    Preview_Thmbnail_mode.PNG ‏80 KB
    Set_Thmbnail_mode.PNG ‏34 KB

    Thank you Andrey!
    I'll use your link to highlight that request as definate scope creep!
    Ben
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

Maybe you are looking for

  • How to populate form data in jsf

    Hi I have 2 questions about how to do things in jsf, i have been working with struts and so will give example of what i would do in struts I have a jsf page for login, when i authenticate the next screen is a table with bunch of data, Where do i popu

  • Sizing a Scene7 flash component

    Does anyone know how to size a flash component? I am using the BasicZoom and Flash Flyout Zoom. Both seem to have a ton of unnecessary whitespace around them. I've seen smaller examples, but I haven't been able to figure out how to size them as cq:in

  • Ive tried to put in a credit card many times.

    I just got a new card and tried to switch it from my old card and it wont take my new card.So i tried putting my old card back on and now it wont take any of my cards!!

  • Mon macbook pro plante et l'ecran est  noir

    Bonjour j'ai  mon macbook pro  qui date de  juin 2012  qui a planté  ce matin.  Je  ne peux  pas  l'eteindre. le curseur  ne  fait  que  tourner en boucle sans toutefois. s'arreter. j'ai essayer de l'eteindre  avec  le bouton  prevu a cet effet  sur 

  • Trying to write current aquired data to file while a continuous aquisition is occurring.

    I have a vi named pj_pushbutton.vi in the attached library. The vi is aquiring data continuously. I have a button that when pushed will write the data to the file. It does this fine except that it seems to be writing the samples from the buffer immed