Regarding TreeItemType and Non Modal window in WDA

Hello Guys,
I am showing data in tree format in WDA and handling onAction event of TreeItemType. whenever user is clicking the last node in hierarchy (UI element TreeItemType), I am navigating to detailed view.
the problem I am facing is that user is expanding the tree and selecting the child node to navigate to detailed view and now when he comes back to initial view, entire tree gets collapsed. and this leads user to again expand the tree.
Is anyone have idea on this problem. I wanted my first view to be same after user navigates to 2nd view and comes back to 1st one.
apart from this I have below question,
1) In WDA, we cannot have non-modal window. Correct?
2) If we call external window within WDA then the same application will not work in portal environment (WDA iView). Please let me know if this is correct?
Thanks,
Chandra

Hallo Chandra,
What you do when the control returns from view-2 to view-1 ? . Tree is not collapsing itself i suppose. Some how ,Contexts are being manipulated or node is invalidated forcing supply function to call.
You could save the lead selected item before you navigate to view-2. When you come back again position the correct item.
> 1) In WDA, we cannot have non-modal window. Correct?
In what context you mean ? you can have external_window or link_to_url.
If you mean popup then it is not possible to have non-modal.
> 2) If we call external window within WDA then the same application will not work in portal environment (WDA iView). Please let me know if this is correct?
This is correct.

Similar Messages

  • Non Modal Window Popup BSP View

    Hi,
    I have a requirement to launch a pop up window which will allow the user to access the original screen from which the pop up was launched (i.e. a non modal window). The pop up window contains a calculator with the intention being that the user would be able to view and copy data displayed on the original screen into the fields of the calculator.
    I have created the calculator as a form view within a BSP component. All of the fields on the form view have been configured using the configuration tab. I have successfully created a modal pop up using the following on the buttons click event:
    comp_controller->window_manager->create_popup( ).
    However, this does not meet my requirement because the form view is displayed in a modal window. I have also attempted to load the pop up using javascript however the view does not initialise correctly when it is loaded which causes a null reference error.
    Can anyone please provide any advice or assistance related to creating a non-modal window for a configured form view within a BSP component? Many of the examples I have found online are related to WebDynPro applications and html pages with flow logic rather than configured views with a controller class.
    Thank you.

    Hi,
    I have a requirement to launch a pop up window which will allow the user to access the original screen from which the pop up was launched (i.e. a non modal window). The pop up window contains a calculator with the intention being that the user would be able to view and copy data displayed on the original screen into the fields of the calculator.
    I have created the calculator as a form view within a BSP component. All of the fields on the form view have been configured using the configuration tab. I have successfully created a modal pop up using the following on the buttons click event:
    comp_controller->window_manager->create_popup( ).
    However, this does not meet my requirement because the form view is displayed in a modal window. I have also attempted to load the pop up using javascript however the view does not initialise correctly when it is loaded which causes a null reference error.
    Can anyone please provide any advice or assistance related to creating a non-modal window for a configured form view within a BSP component? Many of the examples I have found online are related to WebDynPro applications and html pages with flow logic rather than configured views with a controller class.
    Thank you.

  • RH 7: In a CHM, how can I open an independent, non-modal window?

    Hi all,
    Using RH7.
    From within a CHM page, how can I open an independent, non-modal window?
    From within a topic I want to display a large picture by clicking an icon. The picture should appear in an independent, non-modal window that the reader can grab on its caption bar and so move the window  around. Thus, the reader can move the picture window to one side of the monitor, for example, and then use it as a reference, while continuing to read the topic on the other side of the monitor.
    Is this possible in RH7? If so, which RH feature would I use to do this?
    TIA
       avi

    Hi there
    I'm guessing you want to simply open a new browser window without any browser controls, right? In this case, you will need to use JavaScript to do it.
    Cheers... Rick
    Helpful and Handy Links
    RoboHelp Wish Form/Bug Reporting Form
    Begin learning RoboHelp HTML 7 or 8 within the day - $24.95!
    Adobe Certified RoboHelp HTML Training
    SorcerStone Blog
    RoboHelp eBooks

  • How to trigger the automated row fetch process and open modal window by javascript api?

    Hi,
    I would like to click the one row of column of IR report, to open the modal window of current page.  <----------------it is ok. I can use "javascript:openModal('windowID')"  to do it.
    There is one form in this modal window, Meanwhile, I would like to pass column data to this form.    <--------------------- it is ok also. I can use " $s('P7_ID','column_value');" to do it.
    But I don't know how to trigger the "automated row fetch" process of this form to retrieve other field's value in this form.   
    I tried to use following 2 ways. But failed.
    First method:
    add one ajax process of "automated row fetch" in "page processing" block, named "get_fetch_data"
    when click IR column , call "openModal", and call  "apex.server.process ( "get_fetch_data", {}, { success: function( pData ) { }  } );"  , I tried to call above ajax process to refresh form. It is failed.
    Second method:
    add one process of  "automated row fetch" in "page rendering" block, named "get_fetch_data"
    when click IR column, call javascript api "apex.submit" to submit current page , then call "openModal".
    such as :  javascript:apex.submit({request:'MODIFY',set:{'P7_ID': #ID#}}); openModal('trade');
    But it is failed also. the modal page is showed firstly. then page refresh. but modal window will not open again.
    I am not sure if my thinking is right. Could you please provide any suggestion?
    Thanks in advance,
    Ping

    Hi Ping,
    You can try to set the session state of your modal page's primary key before opening the modal page. Use one dynamic action (on click of IR row) with two true actions. First one to set session state of modal page pk, second on to open modal page.
    Or you can add the modal page url as link in your report by extending your query:
    select ...
    ,         apex_util.prepare_url( 'f?p='||:APP_ID||':7:'||:APP_SESSION||'::'||:DEBUG||':7:P7_ID'||COLUMN_VALUE ) as link
    from ...
    This will give you the url of the modal page, with set primary key.
    Regards,
    Vincent Deelen
    http://vincentdeelen.blogspot.com

  • Modal and non modal

    'Lo
    Is there a way to open in modal mode a non modal form ?
    ie : Modal window option set to NO
    or do I have to duplicate the form ........ ?
    thank's

    Hi,
    There is Window property 'Modal' (yes/no values) for that, set value to yes to the main window in your form.
    You can not set this at runtime................
    Regards,
    Hugo

  • Open a non modal window in foreground/on top of the others

    Hi,
    I need to show a PDF in a separate browser window. To do that I use the following lines of code:
    IWDWindow window = wdComponentAPI.getWindowManager().createNonModalExternalWindow(resource.
         getUrl(WDFileDownloadBehaviour.AUTO.ordinal()));
    window.show();
    The problem is that the browser's new window is placed in background (i.e., beneath the active window). Do someone knows how to show the window in foreground (i.e., over/on top the active window)?
    Thank you,
    Pietro

    (Closing due to inactivity)

  • [PC / Mac] Modal vs. Non-modal ScriptUI windows issue

    Hi,
    in Photoshop ScriptUI 'dialog' Windows are supported (they're modal windows), while 'palette' Window's behavior is peculiar (they're non-modal, and as long as there's something going on in the script, they keep displaying - otherwise they automatically close). Apparently, this is different in InDesign (for instance), where palettes can stay idle - at least this is what I've been told.
    I've found a couple of workarounds to work with palette Windows (my goal is to show them in order to let the user interact with either PS and the script's GUI - just like you'd do with regular panels and extensions - that is: to work with them as non-modal, idle palettes that mimic extension behavior), namely:
    // usual Window stuff
    win.show()
    while (isDone === false) { // isDone is set true in win.onClose() etc.
      app.refresh();
    or
    var s2t = function(stringID) {
      return app.stringIDToTypeID(stringID);
    var waitForRedraw = function() {
      var d;
      d = new ActionDescriptor();
      d.putEnumerated(s2t('state'), s2t('state'), s2t('redrawComplete'));
      return executeAction(s2t('wait'), d, DialogModes.NO);
    // Window stuff
    while (isDone === false) { // isDone is set true in win.onClose() etc.
      waitForRedraw()
    The problem is as follows:
    1. They both work on Mac, either CS5 and CS6
    2. app.refresh() seems to work on PC + CS5, but not PC + CS6
    3. waitForRedraw() fails on both PC + CS5 and PC + CS6.
    Mind you: When I wrote that the workarounds fails in CS5 and/or CS6 on PC, I mean that the 'palette', idle windows are modal and not non-modal as it is on Mac (which is my main coding platform).
    [EDIT] Further testing has shown that PC palettes are... halfway between modal and non-modal. For instance, you can click on menus, but not select a Tool; you can collapse or drag a panel, but not access its content. You can't absolutely click on the image - for instance I'm desperately trying to enable panning on PC palettes: no way, you can't have the Hand tool to click&drag the image. For some reason, a "soft-scrolling" is enabled (on my MacBookPro, two fingers scrolling in all directions in the trackpad - but how to mimic this behavior in a desktop PC with no trackpad I don't know). Weirdly enough, the trackpad's "soft-scrolling" works in all directions on PC + CS5 64bits only, either CS5 @32bits, CS6 @32/64bits goes up and down only, no left/right allowed - frankly, to deal with platform-dependent issues is one thing, to take into account 32/64bits too is... ehm...
    So, to sum up there are big differences in the ScriptUI behavior depending on how platform and PS version are combined:
    PC, 'palette' Window:
    CS5 + waitForRedraw() = modal
    CS5 + app.refresh() =  non-modal
    CS6 + (app.refresh() OR waitForRedraw()) = modal
    Mac, 'palette' Window:
    (CS5 OR CS6) + (app.refresh() OR waitForRedraw()) = non-modal
    Is there any... "working workaround" to make on PC CS6 a 'palette' ScriptUI Window to keep a non-modal, idling behavior? (the unasked question is: why is that palettes are behaving as non-modal in CS5 and not in CS6?! )
    Thanks in advance!
    Davide
    Message was edited by: DBarranca - added blue text, further testing comparing 32/64bit versions

    In the meantime, I've published two posts either describing in detail my issues:
    ScriptUI Window in Photoshop - palette vs. dialog
    and testing a workaround:
    ScriptUI - BridgeTalk persistent window examples
    Hopefully they may be useful to others as well.
    Regards
    Davide

  • Converting message box from modal to non-modal

    I have created a Dialog box that works well transferring variables but have now come across the need to keep this dialog open while exploring the VIEW and REPORT panels.  I understand non-modal dialog boxes allow for this and would like to convert or rebuild my current dialog  box to non-modal. Is this possible?
    If I have to create a new non-modal dialog box, how is this done?  I have tried several examples that suggest using the SUDDlgCreate instead of SUDDlgShow but with no success.  It doesn't appear clear where the disticntion between modal and non-modal is made.
    Thanks,
    Ben

    Hi All,
    Another thing to look out for is that the modal SUDialog can pass a VBScript variable as a 3rd paramater between the calling VBScript and the called SUDialog.  The Non-modal SUDialog can NOT pass a VBScript variable in this way.
    Otherwise there are no changes necessary in the SUDialog ittself, just the function used to call it as modal or non-modal.
    Brad Turpin
    DIAdem Product Support Engineer
    National Instruments

  • Non-modal Popup possible- Factsheet in new window

    Hi,
    I have the requirement that I need to open the account factsheet in a new window. For that I have created a popup which works fine but I need this popup to be non-modal.
    Is there any way to do this? Or is there any other solution to open the factsheet in a separate window?
    Thanks for your help and best regards,
    Katharina

    Hi  Katharina,
    I have a similar requirement.
    If you have solved the issue could you please share the solution?
    Thanks,
    Manoj.

  • Position of an non modal external window

    How is it possible to set the position of an non modal external window?
    I've tried it over
    window.setWindowPosition(new WDCssSize(500,WDWindowUnitOfLength.PX),new WDCssSize(200, WDWindowUnitOfLength.PX));
    and also over
    window.setWindowPosition(500,200);
    The result is always the same, the window is shown on the top left.
    Best regards,
    Thomas

    Hi Thomas,
    I tried the same. The code I tried is:
    IWDWindow pop1=wdComponentAPI.getWindowManager().createNonModalExternalWindow("http://www.google.com","google");
         pop1.setWindowSize(512,600);
         pop1.setWindowPosition(50,100);
         pop1.show();
    Its working fine for me. Even I tried changing the parameters for size and position. It worked fine.
    Just 1 thing I noted in you post. You gave the code as:
    window.setWindowSize(512;400);
    although I think it should be
    window.setWindowSize(512,400);
    I do not know whether it was a typo or its in the application(it would have been syntax error in your application).
    I am using IE 6.0. May be its something to do with the versioning.
    Regards.
    Rajat

  • PE13 on Windows 8.1 and non-admin or UAC issues?

    Before I try to evaluate Premiere Elements 13 64-bit, I want to ask if lingering problems related to UAC and non-admin user accounts were resolved since version 11.
    It's good to see a 64-bit version of Elements come out since then.

    Gordon Fecyk
    On what computer operating system is your Premiere Elements 13 running? For now I will assume Windows 7, 8, or 8.1 64 bit.
    Not sure what you mean by:
    It's good to see a 64-bit version of Elements come out since then.
    assume you mean version 11. So in that case....
    Premiere Elements Windows 10, 11, 12, and 13 are 64 bit applications when installed and run on specifically on Windows 7, 8, or 8.1 64 bit. Other Windows versions are 32 bit applications in 32 bit system or 32 bit application running in the 32 bit compatibility mode of 64 bit system. On the Mac side of things,  it is my recollection that Premiere Elements 11 Mac was the first to be a 64 bit application when run on Mac 64 bit system.
    It is my understanding that nothing has changed over the versions with regard to Premiere Elements and the matter of "UAC and non-admin accounts". Probably Microsoft would be a good source on that. Recent threads seem to suggest that Premiere Elements is not working with Domain accounts.
    This is not Adobe. Rather a user to user forum. If you want to contact Adobe about your feature requests, you could consider the Adobe Feature Request Bug Report Form.
    https://www.adobe.com/cfusion/mmform/index.cfm?name=wishform&loc=en
    When you have specific problems with aspects of your Premiere Elements 13 purchased or tryout, we would be glad for the opportunity to be of assistance. Definitely recommend tryout before purchase to assure the compatibility of your program with your specific computer environment and your project goals.
    ATR

  • Non-modal JDialog is not painted and blocks the GUI

    I have developed a GUI that's basically a JFrame with a JDesktopPane.
    The user can, via a menu item, pop up a JDialog that contains some JLists and then select some value from it. Once he/she has done the selection and clicks on OK, the dialog disappears (data processing is then done in the main GUI) and comes back once a specific event has happened. The user then selects other data and so on, until he/she clicks on Cancel, which definitely disposes of the JDialog.
    The graphics of the JDialog are build in the class constructor, which does a pack() but does not make the dialog visible yet. The dialog appears only when doSelection() is called.
         /** Called the first time when user selects the menu item, and then
         when a specific event has happened. */
         public Data[] doSelection() {
              dialog.setVisible(true);
              // ... Code that reacts to user's input. Basically, the ActionListener
              // added to the buttons retrieves the user's selection and calls
              // dialog.setVisible(false) if OK is clicked, or calls dialog.dispose()
              // if Cancel is clicked.
         }Now, everything works fine if the JDialog is modal, but if I make it non-modal only the window decorations of the JDialog are painted, and the control doesn't return to the main GUI. Calling doLayout() or repaint() on the doSelection() has no effect. How can this be fixed?
    I hope I have been able to explain the problem satisfactorily, I could not create a suitable SSCCEE to show you. Thanks in advance for any hint.

    Ok, I've taken some time to think about this problem and I've modified the code a bit.
    Now the dialog shows itself and is responsive (i.e. its JLists can be operated), but the Ok button does not close the dialog as I'd want. I believe that I'm messing up things about threading, and the operations in actionPerformed() should be carried out in another thread, if possible.
    Thanks in advance for any hint / suggestion / comment / insult.
         private Data[] selection;
         /** Constructor */
         public MyDialog() {
              // ... Here is the code that builds the dialog...
              dialog.setModal(false);
              dialog.pack();
              // Note that the dialog is not visible yet
         public Data[] doSelection() {
              operatorAnswer = NONE_YET;
              dialog.setVisible(true);          
              while (operatorAnswer == NONE_YET) {
                   try {
                        wait();
                   } catch (InterruptedException e) { }
              return (operatorAnswer == OK ? selection : null);
         public void actionPerformed(ActionEvent evt) {
              if (okButton.equals(evt.getSource())) {
                   operatorAnswer = OK;
                   retrieveSelection();
                   dialog.setVisible(false);
              else if (cancelButton.equals(evt.getSource())) {               
                   operatorAnswer = CANCEL;
                   dialog.dispose();
         private void retrieveSelection() {
              // ... Here is the code that retrieves selected data from the dialog's JLists
              // and stores it in the "selection" private array...
              notifyAll();
         }

  • Popup window - Non modal

    Hi,
    I have created a popup window. How to make it non modal?
    my code goes like this.....
    IWDWindowInfo windowInfo =(IWDWindowInfo) wdComponentAPI.getComponentInfo().findInWindows("Popup");
         IWDWindow     window = wdThis.wdGetAPI().getComponent().getWindowManager().createWindow(windowInfo, true);
         wdContext.currentContextElement().setWindowInstance(window);
         window.setWindowPosition(WDWindowPos.CENTER);
         window.open();
    Pls help

    Hi Sujesh,
    As far as I know this functinality hasn't been implemented atleast till SP9. Though you have a boolean variable for specifying whether the window created is modal or not, it will always create a <b>modal</b> window.
    Best Regards,
    Nibu.
    Message was edited by: Nibu Wilson

  • Required:Autocomplete and Modal Window components for JSR 168 Faces Portlet

    Hi All,
    I need to use Auto-complete and Modal window in my JSR 168 Faces portlet. Are there any components readily available?
    I am using WPS 6.1 + RAD 7.5. Please suggest.
    Thanks and Regards,
    Anitha.

    You may want to take a look for RichFaces.
    Homepage: [http://www.jboss.org/jbossrichfaces/]
    Auto complete example: [http://livedemo.exadel.com/richfaces-demo/richfaces/suggestionBox.jsf]
    Modal window example: [http://livedemo.exadel.com/richfaces-demo/richfaces/modalPanel.jsf]

  • I got a new windows computer and I can't transfer all of my music to it from my old computer. I have some music on my phone but not all of it so when I plug it in only some of my music shows up and none of my playlists.

    I got a new Lenovo Windows computer and I'm trying to transfer my iTunes library to my new computer. I can't figure out how. I tried plugging in my iPhone and it synched what music was on my phone but I don't have my entire library on my phone and none of my playlists transferred. I tried authorizing my computer and it is but it still isn't showing up. I turned on my homesharing on my new and old computer but apparently I have two other computers I have authorized and I don't know which ones they are, probably ones that have been thrown out. What do I do now?

    iDevices are not and have never been backup devices.
    Authorizing a computer does not cause media to magically appear.
    Media is only where the user puts it.
    Copy the ENTIRE iTunes folder from the old computer to the new computer.

Maybe you are looking for

  • How many times can you download a song on iTunes and have it count?

    I'm wondering. Someone I like have released a song on iTunes and I wanna support them and I dont mind spending a few bucks on them. So how many times can I download a song and still have it count as an individual purchase? And what about gifting? tha

  • Can I get My Money Back for a Download?

    I was downloading an audiobook and when I entered my account ID and password it promted me to change my billing information. So, I did. When I was done, I clicked on "Buy Audiobook" again, not realizing that it was downloading the book already from b

  • IPC vs. iPod Shuffle, can see music files on my iPod?

    I have downloaded iTunes onto my pc, but when I attempt to open my ipod shuffle, I either get rerouted to hte music library on my computer OR the only viewable file is "autorun".  I checked my ipod and all the music is on there???

  • List Of Reporting Relationships

    Hi guys,   I am an Portal consultant , but i got a task like i need to upload "list of reporting relationships" ,which was created earlier by HR team in excel sheet in a certain format.... how to upload "list of reporting relationships" in r3? please

  • Store procedure help

    is it possible to write store procedure for inserting records and multiplying them description qt rate Amount drop procedure a1; create or replace procedure a1 a_description in varchar2, a_qt in number, a_rate in number, a_amount in number) as begin