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

Tags: Java

Similar Questions

  • 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

  • Problem refreshing the popup

    ADF11g:
    I have problem in refreshing the popup.

    On the homepage, there is a table and a column of this table, I put commandImageLink one click on this image that I supposed to open a popup where I display the result of information.

    during the first click on this image, I am able to show the result correctly, but if I change the line and try to click the image once again, of that I am not able see the new result .it antique watch. OnClick, I checked the new result values are extracted by the server, but not reflecting does not Popup.

    Yet one thing i course is only the first time when I click on the image goes to the action method and then open popup but at next until it clicks fisrt popup opens and then call the action method.

    < af:column sortable = "false" headerText = "Actions".
    rendering = "true" width = "50" >
    < af:panelGroupLayout layout = "horizontal" >
    "< af:commandImageLink icon="/image/info.jpg ".
    shortDesc = "Info".
    partialSubmit = "true" action = "#{IssueActionBean.refresh_ContentRevisionInfo1} '"
    launchListener = "#{IssueActionBean.getRevisionLauncherListener}" >
    "" < af:showPopupBehavior popupId = ": popupinfo".
    triggerType = "click on" / >
    < / af:commandImageLink >
    "< af:commandImageLink icon="/image/checkinout.jpeg ".
    shortDesc = "Check in/out" >
    "" < af:showPopupBehavior popupId = ": popupMenu.
    triggerType = 'action '.
    align = "beforeStart" / >
    < / af:commandImageLink >
    < / af:panelGroupLayout >
    < / af:column >
    < / af:table >
    < af:popup id = popupFetchListener = "#{IssueActionBean.getfetchRevisionLauncherListener"popupinfo"}" >
    < af:panelWindow title = "information content".
    inlineStyle = "width: 600px; height: 500px; ">

    < af:table value = "#{bindings.documentRevisions.collectionModel} '"
    var = 'row' id = 'popupinfo1 '.
    Rows = "#{Bindings.documentRevisions.rangeSize} '"
    emptyText = "#{bindings.documentRevisions.viewable?" "{"No line yet.":"Access Denied."}"
    fetchSize = "#{bindings.documentRevisions.rangeSize} '"
    selectedRowKeys = "#{bindings.documentRevisions.collectionModel.selectedRow} '"
    selectionListener = "#{bindings.documentRevisions.collectionModel.makeCurrent} '"
    rowSelection = 'single '.
    inlineStyle = "width: 750px; height: 250px; margin: 20px; ">
    < af:column sortProperty = "revLable" sortable = "true".
    headerText = "#{res}" >
    < af:outputText value = "#{row.revLable}" >
    < af:convertNumber groupingUsed = "false".
    pattern="#{bindings.documentRevisions.hints.revLable.format}"/ >
    < / af:outputText >
    < / af:column >
    < af:column sortProperty = "release date".
    sortable = "true".
    headerText = "#{res}" >
    < af:outputText value = "#{row.releaseDate}" >
    < af:convertDateTime pattern="#{bindings.documentRevisions.hints.releaseDate.format}"/ >
    < / af:outputText >
    < / af:column >
    < af:column sortProperty = "expirationDate".
    sortable = "true".
    headerText = "#{res}" >
    < af:outputText value = "#{row.expirationDate}" >
    < af:convertDateTime pattern="#{bindings.documentRevisions.hints.expirationDate.format}"/ >
    < / af:outputText >
    < / af:column >
    < af:column sortProperty = 'status' sortable = "true".
    headerText = "#{res}" >
    < af:outputText value = "#{row.status}" / >
    < / af:column >
    < af:column sortProperty = 'fact' sortable 'true '.
    headerText = "#{res}" >
    < af:outputText value = "#{row.did}" >
    < af:convertNumber groupingUsed = "false".
    pattern="#{bindings.documentRevisions.hints.did.format}"/ >
    < / af:outputText >
    < / af:column >
    < af:column sortProperty = "docName" sortable = "true".
    headerText = "#{res}" >
    "< af:goLink destination =" #{row.docURL} "text =" #{row.docName} ".
    targetFrame = "_blank" / >
    < / af:column >


    < af:column sortProperty = "docURL" sortable = "true".
    headerText = "#{bindings.documentRevisions.hints.docURL.label}" >
    < af:outputText value = "#{row.docURL}" / >
    < / af:column >
    < / af:table >
    < af:panelFormLayout >
    < / af:panelFormLayout >
    < / af:panelWindow >
    < / af:popup >



    public String refresh_ContentRevisionInfo1() {}
    BindingContainer links = getBindings();
    OperationBinding operationBinding = bindings.getOperationBinding("getContentRevisionInfo");
    Object result = operationBinding.execute ();
    Bindings.Refresh ();
    DCBindingContainer dcBindings = (DCBindingContainer) BindingContext.getCurrent () .getCurrentBindingsEntry ();
    DCIteratorBinding iterBind = (DCIteratorBinding) dcBindings.get ("documentRevisionsIterator");
    iterBind.executeQuery ();
    iterBind.refresh (DCIteratorBinding.RANGESIZE_UNLIMITED);
    Returns a null value.
    }

    {} public void getRevisionLauncherListener (LaunchEvent launchEvent)
    BindingContainer links = getBindings();
    OperationBinding operationBinding = bindings.getOperationBinding("getContentRevisionInfo");
    Object result = operationBinding.execute ();
    Bindings.Refresh ();
    DCBindingContainer dcBindings = (DCBindingContainer) BindingContext.getCurrent () .getCurrentBindingsEntry ();
    DCIteratorBinding iterBind = (DCIteratorBinding) dcBindings.get ("documentRevisionsIterator");
    iterBind.executeQuery ();
    iterBind.refresh (DCIteratorBinding.RANGESIZE_UNLIMITED);


    }


    Thanks for any help.
    Katie

    Try to set the attribute contentDelivery of the pop-up window to layzUncached and see if that helps.

    If this is not the case, try to send a ppr to the pop-up window.

    Timo

  • button is not rendered in the parent page after setting the condition made in popup.

    Hi all

    I have a page test.jsf where I have a button called display window confirmation with condition rendered as below

    < af:button text = "show the Confirmation window" id = "b8".

    actionListener = "#{TableShuttleBean.showConfirmationWindow} '"

    rendered = "#{TableShuttleBean.popUpCheckBox.Value == true} '/ > "

    I call a popup based at the click of another button. Where I gave an option so that the user doesn't show this confirmation again window. Once the user sets this checkbox and close the pop-up window. I display a button in my test. JSF which will allow the user to restore to the original setting.

    < af:popup.

    a code

    < af:selectBooleanCheckbox shortDesc = "#{bindings." EmployeesView1.hints.Selected.tooltip}.

    ID = "sbc22" text = "don't show this window again"

    Binding ="{tableshuttlebean.popupcheckbox}" / > "

    < / af:popup >

    I put the partial trigger for the OK button of the pop-up window to the form of the page parent element, but it does not work. I'm not able to update my parent page and show the button.

    My apologies if I'm not able to explain my problem clearly.

    Thank you

    Mozakkir

    Mozakkir, please indicate your Jdev version!

    You cannot use the property made for it. Once the rendering of the property is false, the component he remembers of the tree and is not shown again without a full page refresh. However, you are only a partial new.

    The visible property of the user instead that just hides the component and allows to show later with a partial refresh.

    Timo

  • How to refresh the Popup form, when it is in mode insert create?

    Hello

    When I press on Jsp page it gives dialog popup (Dept table) is to create the insert mode button, am going to some input values and close the pop-up window (not committed or cancel).

    and the call button again once it appears as a mode of updating...

    I use Jdeveloper 11.1.2.3.0 and Oracle10g...

    Hope this answer.

    you have set the popup contentDelivery to be lazyUncached?

  • Refresh the popup programmatically

    Hello

    I use Jdev 11.1.1.6

    I have a FA: table in a popup that is to pick up a few lines... I added a link delete next to each line through links.

    When I click on the link delete for a particular line... the line is removed and the window closes automatically.

    To avoid this, I put the part delivery of property = true for the link delete...

    Now when you click on remove link line gets deleted but context does not close which is very good...

    Now the problem is... the other buttons on the pop-up window are not working as record, etc...

    I like to write code for the link delete where by program I will delete the line and I want to update the popup as well.

    Can someone let me know what is the code to update the popup programmatically?

    Thank you

    Rajesh.

    User, things to check:

    is the autoCancel property for the popup?

    If so, set it to false and try to delete a line without defining the partial submission button.

    Timo

  • HOWTO updating table after closing a popup

    With the help of JDev 11.1.1.3

    I have a table and a popup. The table is filled with chronogram a datacontrol.
    The popup has a form indicating the details of the selected record in the table. I also use this popup to create new records.

    I have problems when you press the 'OK' button in the dialog box. The record is saved in the database, a commit is executed but my table does not show the new record. I need to press F5 before recording.
    I tried to set a partialTrigger at the table of the popup, but it does not work.

    This is the dialogEvent code:
        public void enqueteListener(oracle.adf.view.rich.event.DialogEvent dialogEvent) {
           if(dialogEvent.getOutcome() != DialogEvent.Outcome.no) {
             BindingContainer bindings =  BindingContext.getCurrent().getCurrentBindingsEntry();
             OperationBinding operationBinding = bindings.getOperationBinding("Commit");
             operationBinding.execute();
             
             operationBinding = bindings.getOperationBinding("Execute");
             operationBinding.execute();
           }
           else {
             BindingContainer bindings =  BindingContext.getCurrent().getCurrentBindingsEntry();
             OperationBinding operationBinding = bindings.getOperationBinding("Rollback");
             operationBinding.execute();
           }
        }
    As you can see that the commit is executed and after that I run the Execute to refresh the table, but it doesn't seem to work...

    How can I get that I have is more useless to press F5 if the record show upward directly in the table after click on the OK button in the pop-up?

    You add partial trigger to the table in your code. If your table is related to an attribute in the bean you can add

    RequestContext.getCurrentInstance().addPartialTarget(getTable());
    

    where getTable() returns the component "richeTableau". If you do not link the table to the bean, you can search the tree of components for the id of the table to get the part.

    Timo

  • 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;
    $('