Refresh the parent page while a modal window is open to the APEX 5.

Does anyone know if there is an easy way to do this in APEX?  Here are more details:

I have an APEX 5 page with a report that shows orders for a customer.  The user presses a button to open a popup that allows them to add commands to the State.  If we add a firm order the modal pop-up window and the report is refreshed.

However, I also have an ' Add and add another "button that adds the command to the collection, the report is based on and then deletes fields on the modal to allow another order to be entered."

The user can see the report in the background, but the controls are not added until they close the modal window.

Is anyway to update the classic/pages in the background report to give the user a visual indication that an order has been added every time they press 'add and add another '?

Thank you!

Hello

You can create a dynamic action with the following javascript code:

parent. $('#id_standard_report'). Trigger ('apexrefresh');

You must assign a static ID to your standard report. Replace "id_standard_report" in the code with your code.

Sergio

Tags: Database

Similar Questions

  • How can I reload / refresh a web page while you watch it

    I can't find any option to reload / refresh a web page in the drop down menus. I read in a forum, someone speaks the "reload" button, but I don't know where to find it! Thanks for any help offered!

    Hello!

    I usually press 'Ctrl + r' or the 'F5' - key... I hope that will work for you too!

  • How can I stop auto refreshing a web page in XP immediately after its opening?

    Under XP, once I have access to a new web page Firefox auto update this page once the page is ~ 80 - 90% open - how can I stop this refreshment?

    Start Firefox in Firefox to solve the issues in Safe Mode to check if one of your modules is causing your problem (switch to the DEFAULT theme: Tools > Modules > themes).
    See the extensions, themes and problems of hardware acceleration to resolve common troubleshooting Firefox problems and troubleshooting questions with plugins like Flash or Java to solve common Firefox problems

    If this does not work in safe mode and then disable all your extensions and then try to find out who is causing by allowing both the problem reappears.
    You can use 'Disable all add-ons' on the start safe mode window.
    You will need to close and restart Firefox after each change through "file > exit" (on Mac: "Firefox > Quit")

  • Problem refreshing the page parent when a modal window is closed.

    I have the page that opens a modal window of a column in report link. In the modal window, I want to be able to make my changes and press a button so that the modal window is closed and the parent page is refreshed to display the details changed in the report. In Firefox all works well, but IE I get the error message 'Window.opener.location is null or not an object ".

    When I comment out window.opener.location.href = window.opener.location.href; the modal window is closed without error, but I want to refresh the parent page with the changes in the modal window.

    I'm afraid that my java script is very limited (the code is inspired other peoples examples.)

    Page parent I call this function of a column in report link to display a modal window. Sets the hidden field of the SAVE_STATUS to the landing page of "n".

    function modalWin (pshow)
    {
    var url;
    URL ='f? p = & APP_ID.: "+ pshow +": & SESSION. : SAVE_STATUS: NO;

    If (window.showModalDialog) {}
    window.showModalDialog (url, "name", "dialogWidth:650px; dialogHeight:700px"); }
    else {}
    Window.Open (url, "name", "height = 700, width = 650, toolbar = no, directories = no, status = no, menubar = no, scrollbars = no, resizable = no, modal = yes");
    }
    }



    Landing page (modal window)

    Header HTML.
    Function closeWindow should refresh the parent page and close the modal window.

    < base target = _self >
    < script language = "JavaScript" type = "text/javascript" >
    <!--

    htmldb_delete_message = "'DELETE_CONFIRM_MSG" ";

    function closeWindow() {}
    If (document.getElementById("SAVE_STATUS").value == 'Y')
    {
    Window.opener.Location.href = Window.opener.Location.href;
    Window.Close ();
    }
    }
    ->
    < /script >


    Attribute Html Body .
    onLoad = "closeWindow (); »


    P_UPDATE_DATE process called of the button changes. Games of the SAVE_STATUS flag 'Y' for the onload in the html body.

    UPDATE event
    SET event_date =: P5001_EVENT_DATE
    WHERE contract_reference =: P330_EVD_CONTRACT
    AND event_number =: P330_EVD_EVENT_NUMBER;

    : SAVE_STATUS: = 'Y ';


    Thank you in advance, I'll take a look when back in the office on Monday.

    Pete has soon

    Hi Pete,.

    In my view, that the refreshment of your page should happen on your parent Page. You can also check the JQueryUI there a beautiful modal dialog Widget.

    --
    Chris

  • skillbuilders modal page: how to submit the page parent after closing modal window

    Hello.

    I use Apex 4.2.1 on mod_plsql and Oracle 11 g 3.

    I installed version 2.0 of plugin Skillbuilders Page modal.

    In may, app, page 7 presents a button.  When you click on it, page 6 is displayed as a modal popup.  Users can change this modal page form fields and then click on a "submit" button.  This, in turn, automatically closes the modal page.  Users seek then to page 'parent' (page 7).  It all works very well.

    My problem: Page 6 (modal page) contains a collection of Apex.  This collection is updated when users click the submit button.  It is this collection to be displayed with the data updated on the page "parent" (page 7).  And so, I need to automatically send page 7 when the modal page closes automatically after clicking submit on the modal page.

    I tried a dynamic action that performs an action of "submit page" whenever the user clicks on the button send in the modal page.  But because the plugin uses an iframe to display the modal page, the action of page submit real that happens in the iframe, not in the 'parent' page (page 7).  When the modal page closes automatically, users are left looking at the page of 'parent' (page 7) with the previous data (not updated).  I have to manually refresh the page (via the browser) to see the data updates to the collection.

    And then, does anyone know how to automatically return the page of 'parent' when the modal window closes automatically?

    Thank you.

    Elijah


    Your dynamic action automatic closing has not been set correctly. The action is not triggered on a specific item, but rather on the 'document '. Your selection should be 'Élément DOM' and the element must be "document".

    (Note that if you use several modal pages on one page, this action triggers for each of them. You can use the 'modal page id' in the creation of the page modal DAs must be able to stand out in outreach. You can find this in the documentation, too.)

  • Modal region of the tree as a popup... After clicking the value in the tree... How to avoid the parent page is refreshing

    Hi, I spent long hours to solve this problem and wait for the answer from the expert.

    I created a form with text boxes and one of them, I created just small image button to call the modal region of the tree.

    Everything is OK, tree appear and disappear after the passage of the code value for the text element in the parent form.

    But it refreshed and initialized all other areas of empty text as well... ^ ^;

    I think that, because of the link in SQL tree. Someone help me?

    Select case when connect_by_isleaf = 1 then 0

    When level = 1 then 1

    else                           -1

    end the status,

    level,

    "CAT_NM" as the title,

    NULL as an icon,

    "CAT_CD" as a value.

    NULL as ToolTip,

    ? p = & APP_ID.:112 :'|| : APP_SESSION |': P112_CAT_CD :'|| "' CAT_CD ' as link-> How to avoid refreshing the page parent and just switch the CAT_CD to the called page?

    'category '.

    Start with 'PARENT_CAT_CD' is null

    connect prior "CAT_CD" = "PARENT_CAT_CD."

    siblings arrested by "CAT_CD".

    Hey "zoomok,"

    Large - an example would have been my next request in any case I took a glance and changed your demo page to work as you want.

    Things of note:

    -SQL source tree: NO link value! A link value will generate apex code that will redirect you to the link. It will always be a redirect page, where a rerender page, and not what you want! Leaving NULL allows us to interact with the tree interactively via javascript

    -Code in variables and functions global page - javascript - next:

    function treeOnload(){
      var l$Tree = $("#tree_modal div.tree"); // get the tree instance
      // handle the onselect event of the tree
      $.tree.reference(l$Tree).settings.callback.onselect = function(NODE, TREE_OBJ){
        $s( "P112_CAT_CD", $(NODE).attr('id') ); // get the VALUE of the node and put it in item P112_CAT_CD
        closeModal(); // close the active modal region
      };
    };
    

    -In javascript - dependent section I added a call to this procedure:

    treeOnload(); // initialize the tree with our settings
    

    And that's all! I didn't know that you use "openModal". There are different ways to implement modal regions, so it is important to know how we do for ourselves what to do with it.

    FYI - you now need to change your credentials. And mark the answer that has helped you or is correct, please.

  • How to refresh the Parent page after closing the window pop up (Dailog)

    Hello

    My Version of JDEV is 11.1.1.7.0

    I open the POP-UP (Dailog) using goLink

    Now how can I use property return Action Listener to refresh the parent page.

    Thank you

    Venkatn

    Hello

    Is there a reason why you using a goLink erq? Could replace you it with a commandLink? You will be able to refresh the page in the earphone of return.

    Kind regards.

    Ruben

  • APEX 5.0 after you close a modal dialog box, I want to introduce the parent page, without losing session values

    I have a parent page that triggers a modal dialog box in APEX 5.0. When the user confirms in the dialog box, it closes the dialog box by using the process of dialogue.

    In the parent page, if I do not have a dynamic action "Dialog box closed", the user returned to page with the values, they recently came again here. If I add a closed action dialog box to send the page, the values are lost - it's as if the page refreshes before submitting. Someone knows how to solve this problem.

    Thank you.

    user3282753 wrote:

    Please update your forum profile with a recognizable username instead of "user3282753": Video tutorial how to change username available

    Also, is it possible to display the success message from the Page of the dialog box without updating the parent page.

    See Roels Blog: display a success message after you close a modal dialog box

  • Refresh the Parent page after closing the popup

    Hello

    I open the pop for that insert data and then I want to see the page parent page refresh after closing of pop either perform cancel or closing popup using X.

    try like this

    < af:commandLink text = ' #{rank. " DEPTNO}"id ="cl1"partialSubmit ="true"returnListener =" #{backingBeanScope.backing_DeptDBFace.backFromPopup} ">
    "" < af:showPopupBehavior popupId = ': p1 ' triggerType = 'action' / >
    < af:returnActionListener value = "10" / >
    < / af:commandLink >

    When this method ({. backing_DeptDBFace.backFromPopup}) contains the PON - Stmts which are not executed after the closure of the pop-up window

    Thank you

    Venaktn

    Hello

    Try to use the popupCanceledListener. (af:popup)

    This event will happen only when you click the X or cancel the popup.

    Kind regards

    Ruben

  • refresh the content of the parent window?

    I use the task flow as the dialogs (instead of the usual popups) these are level tasks workflows superior and usual as windows popup html as Window.Open representative.
    In one case I change the information in the window of a child and after I hope to see changes in the opener. The changes are visible only when I refresh the window by pressing F5 in Internet Explorer. How can I force a refresh of the parent window? I guess I can do it with the parent activity call, but these are not authorized level superior taskflow. After the child window reject, I guess I could catch an event that happened in the parent window. Is this possible?

    Thank you!

    Published by: euggie on July 20, 2009 14:09

    Hello

    the command script that launches the dialog box should have a defined return listener. You use this to refresh the parent page

    Frank

  • Refresh the view current firefox page by using the keyboard shortcut without concentrating on the firefox window.

    I want to refresh the current page tab that the firefox browser open without focusing on that. For example, I focus on a text editor (creating a server-side code) and I save some changes and trigger my custom shortcut (IE [ctrl + alt + space + a]) key to refresh the firefox browser without concentrating on it.

    You can do that with a keyboard shortcut without opening/development the Firefox window.

    Maybe use this extension:

  • Refresh the report to modal page

    Hello

    I use Apex 5 and with a modal page, I'm not be able to refresh the report that calls this page.

    • I have a region to report on a regular page.
    • I add a button to call the modal page.
    • I record my data, I click on save and return to the page of the appellant.

    My report is not updated. If I create a 'classic form on a page with the report' and the form is modal, when I return to the report, the data is refreshed.

    What should I do to refresh the data?

    Thank you.

    Hello

    on your calling page that contains the report, add dynamic action on the button (or region) who listens to the event "dialog closed." As an action we "Refresh" and indicate your area of report.

    As soon as your modal dialog box is closed, this event will be raised in the calling page and your report will cool off. If you look at our sample Application database, you will find several examples of using this technique.

    Concerning

    Patrick

    Member of the APEX development team

    My Blog: http://www.inside-oracle-apex.com

    APEX Plug-Ins: http://apex.oracle.com/plugins

    Twitter: http://www.twitter.com/patrickwolf

  • I downloaded and installed creative cloud with no problems. From the window of creative cloud cannot display the APPS page (while other 'Home', 'Community' can be seen). This is why I can't select the application to be updated. Thanks for your help

    I have download and install creative cloud with no problems. In the window of creative cloud cannot display the APPS page (while other 'Home', 'Community' can be seen. This is why I can't select the application to be updated. Thanks for your help

    Please refer to the threads below where the issue has been addressed:

    Re: desktop is not displayed Panel apps? PC

    Missing Creative Cloud Desktop applications tab

  • How to close the parent page popup and refreshment with click of a button.

    With Aped 4.0, I created a window close popup with this process, I am able to close the popup window after submit. But how do I update the parent page before you close the pop-up window.

    He does ' t work like this, because above JavaScript three calls does not wait for the actions to perform
    Means once the function of the saveChanges method is called, it will run funtions all three with waiting for the first action to perform. This is not the right way.

    Instead, you can use a branch of the page with the guy like branch of PL/SQL procedure with the following code.

    And Point branch: on submit: calculation of before (before the calculation, Validation and treatment)

    Begin
    htp.p('');
    end;
    
  • Twitter: Your account may not perform this action. Please, refresh the page and try again.

    Since the update to Firefox 41.0.2 I couldn't use Twitter.com. When I try to tweet, favorite, or retweet the following error occurs. Your account may be able to perform this action. Please, refresh the page and try again. There are a couple of other users who have the same problem, but it was tinkered with Mozilla and the other pending.

    It started with the update to 41.0.2 and twitter works in all other browsers, but not Mozilla.

    Here's this other thread with the DIY: Impossible of Retweet, tweet or articles favorite on Twitter, even when I refresh the page.

    I think there must be a setting or a question Add on. Your extensions look pretty standard, so I'm leaning towards a parameter of the problem. You could test as follows:

    By default, Windows hides the .js extension. To make sure that the following steps work, you have to disable this feature, at least temporarily. This article has the steps: http://windows.microsoft.com/en-us/windows/show-hide-file-name-extensions

    Open the settings folder (AKA Firefox profile) current Firefox help

    • button "3-bar" menu > "?" button > troubleshooting information
    • (menu bar) Help > troubleshooting information
    • type or paste everything: in the address bar and press Enter

    In the first table of the page, click on the view file"" button. This should launch a new window that lists the various files and folders in Windows Explorer.

    Leave this window open, switch back to Firefox and output, either:

    • "3-bar" menu button > button "power".
    • (menu bar) File > Exit

    Pause while Firefox finishing its cleanup, then rename prefs.js to something like prefs.old.

    Launch Firefox back up again and it must use the default settings (for example, integrated home page). If you need to restore your previous session windows and tabs, go ahead and select restore previous Session from the history menu.

    Twitter works best? If so, we could try to understand the precise adjustment at fault or you could rebuild your settings. Or you can undo the change by renaming the new prefs.js to prefs.txt and rename prefs.old back to prefs.js (with Firefox closed, as you did before) and understand it through a little trial and error.

Maybe you are looking for

  • Battery empty fast - iPhone 5s?

    Hello! 3 months ago I bought an iPhone 5. I compared it with my old iPhone 4S and it drains really quick. For example now its battery is 30% and I use 3 hours 42 minutes and sleep 18 hours and 19 minutes. Is this ok? 4S battery used to drain very slo

  • My touchscreen Ipod Nano 6 g changed after a restore mode

    After a restore, Itunes has change completely my Ipod, the touch mode is different and I can't use it, it looks as if it's the touch mode to another generation. There is also a voice speaking each button that wasn't there before. I can't go to the sc

  • made faulty navigation buttons

    I began to feel a strange rendering of the navigation buttons then I tried to re - install FF. I discovered that it's empty, fresh installation of Firefox, everything is good,but once I have installed one of the modules, the navigation buttons get re

  • How to stop Firefox remembering typed usernames

    Firefox remembered all the names of typical users. I find this very annoying. Badly typed usernames, personal user names are displayed to everyone. I could see an option 'Remember password' that can be disabled (under the Security tab of the options)

  • Flight Simulator 2004 (Fs9.1) runs on Windows 8?

    Flight Simulator 2004 (Fs9.1) run Windows 8?