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.)

Tags: Database

Similar Questions

  • region of refresh on the page parent after closing popup inframe

    Hello

    I have parent page with several regions, and one of the reports is related popup to another page using inframe. All these are works fine but now iam trying to a parent region partially regenerate after closing the window contextual inframe, I tried apex.submit (region1) but it does not work? no idea how can I update this after the closure of the window popup?

    Best regards and thank you

    Hi Gor_Mahia,

    Gor_Mahia wrote:

    Here are the details,

    application ID = 46268

    page ID = 13

    demo123/demo123

    proj2010 = workspace

    Use the links in the second column IR

    Once again thanks for your time.

    Check your application now. The interactive report is refreshing on the closure of the modal dialog box using the method of dynamic, such action described in the blog post:

    Monkey on Oracle: Modal popup with dynamic Actions

    Here are the changes:

    • Edited your action dynamic and value:

    In the section "Advanced":

    Scope of the event: Dynamics

    In 'true Actions:

    Action edited your "run the Javascript Code" and "Code" to modified:

    From:

    /* prevent default behavior on click */
    var e = this.browserEvent;
    e.preventDefault();
    /* Trigger JQuery UI dialog */
    var horizontalPadding = 30;
    var verticalPadding = 30;
    $('