Refresh Vo Iterator

Hi,
I m using Jdeveloper 11 g.
My requirement is to refresh(clear the cache) Vo Iterator on page load.
For that I tried Vo Object.
1.
    ViewObject iterator =
                  ((DCBindingContainer)BindingContext.getCurrent().getCurrentBindingsEntry()).findIteratorBinding("CustCGUnmappedListVO1Iterator").getViewObject();
    iterator.clearCache();
    iterator.executeQuery();but this is not refreshing or clearing the cache of iterator.
and also I used
2. iterator.getApplicationModule().clearVOCaches(null , true);
3. In VO, create the VO impl class and override the executeQuery method and executeQueryForCollection method.
so please suggest is there any other solution to clear the cache then please replay.
Thank You ,
Dilkhush

Hi,
Sure,
on my page there are three table's(A,B,C) of different VO Object's (V1,V2,V3).
On page Load 'A' table has data and 'B' & 'C' tables are empty.
on the first table selection (A) populates data in Other Two tables (B & C).
Here I i Fire ExecuteWithParam on remaining VO to get data.
when I change the menu and go on other page and come back to the previous page that time it show the last executed data in Table 'B' & 'C'.
Here I required to clear both the table.
Becoz unless n until user select the table 'A' Don't populate record in Table 'B' & 'C'.
the Code which i had posted above was written in AfterPahse() Method of PhaseListener Interface.
So please guide me.
Thank you,
Dilkhush

Similar Messages

  • Refreshing/clearing iterator (ADF bug?)

    Hi,
    I have three cascading SelectOneChoice lists.
    List A
    List B
    List C
    The user can select a value in List A, which Populates List B and List C. The user can then select a value in List B, which then narrows down the contents of List C. The problem is that list C now contains the results from the List A event and the List B event, instead of just containing the results of the new query.
    I am using EJB3, ADF Faces
    many thanks
    R

    Just realised that it's not a problem of not being able to refresh the iterator - I can - it's that the iterator still contains the data from the previous query... AND then the data from the requery. All I need to know is how to empty the contents of the iterator?
    Come on expert Oracles, I'm feeling lonely here :-)
    R

  • How to refresh an iterator with PPR set to none after task flow operation?

    Using JDev 11.1.2.1.0.
    Doing the sample here: http://www.gebs.ro/blog/oracle/oracle-adf-creating-an-addedit-bounded-task-flow-using-a-new-transaction/
    For this to work, you've got to set your page iterator/executable's ChangeEventPolicy to "none". Otherwise, you can't set the selected row correctly due to the iterator refreshing on commit.
    I'm trying to extend this example to include a Delete operation setup in the task flow. However, I can't figure out how to refresh the page's iterator to display the updated results. The Delete doesn't run in a dialog so it doesn't invoke the calling button's returnListener.
    Any ideas?
    Thanks,
    Will

    Thank you for your response.
    I'm trying to call the delete operation from a task flow. Once the delete occurs, the page should somehow call a refresh on the iterator displayed. However, since the iterator can not have PPR set, the refresh doesn't happen automatically. Additionally, since the delete doesn't happen as part of a dialog window, the returnListener for the calling button does not fire.

  • Refresh an af:iterator

    Hi there,
    we've got a problem with an af:iterator component. We use it inside a panel tabbed to display multiple show detail items depending on out collection model.
    This is working as it should, however, the user could create new data which should also be presented as a new tab. This is not working. Only a full refresh of the page shows the newly created data.
    Is there a way to refresh the iterator?
    The JDev version is 11.1.2.3.0.
    Thanks in advance.

    Timo Hahn wrote:
    Get hold of the iterator in a bean method and call iterator.execute(); this should refresh the data.
    TimoJust for clarification. Which iterator do you mean? The af:iterator or the iterator binding?

  • How to refresh iterator to get the deleted item

    Hi,
    Scenario:
    User loads the first page. He can see his profile details. He clicks on a edit link ; it opens a popup to edit details along with a save and cancel button. He deletes his phone number and click on cancel. The cancel button will just close the edit popup.
    Problem:
    He is not able to see his phone number in the front page. Only if he commits his phone number should get deleted. I think i have to clear the cache and refresh the iterator on click of cancel. I have added CacheResults="false" for iterator.
    <iterator Binds="AdminVO1" RangeSize="25" DataControl="AppModuleDataControl"
    id="AdminVO1Iterator" CacheResults="false"/>
    I tried to refresh the iterator like iterator.setRefreshOption(8192);// as i found in one blog.
    Its also not working. Can anyone please tell me how can i refresh the iterator to show the deleted row when he goes back to the first page on click of cancel

    sorry for the post

  • Iterator getting refreshed before commiting.

    Hi,
    Scenario:
    User loads the first page. He can see his profile details. He clicks on a edit link ; it opens a popup to edit details along with a save and cancel button. He changes the his name and clicks on cancel. The cancel button will just close the edit popup.
    Problem:
    He will see his edited name in the front page. Only if he commits his edited name should appear in front page. Its happening because the same bindings am using in the first page and in the editable page.I tried giving in pageDef CacheResults="false"
    <iterator Binds="AdminVO1" RangeSize="25" DataControl="AppModuleDataControl"
    id="AdminVO1Iterator" CacheResults="false"/>
    But its not working. Please help me in this issue

    Hi Vinod,
    Thanks you very much. Its working fine. But i have one more query related to this . If am deleting one row in edit page on click of cancel on first page i need to show the deleted row;how can I retrieve that row back ;
    if we are deleting the row the row status will be 'unmodified' and
    currentRow.refresh(Row.REFRESH_UNDO_CHANGES); will be executed. I tried to refresh the iterator like iterator.setRefreshOption(8192);// as i found in one blog.
    Its also not working. Can you please tell me how can i refresh the iterator to show the deleted row when he goes back to the first page on click of cancel

  • Refresh table after creation of new Toplink BO

    Hi,
    i have the following Problem and i hope someone can help me. I use ADF11g/Taskflows with TopLink-mapped BOs (no ADF BC).
    Consider following Taskflow(s):
    main activity is a jsff-page (view) showing a table of BOs. From this view there are two action-outcomes defined called "edit" and "create". The edit-action calls another Taskflow constisting of one pageFragment showing the detailForm of the given BO. This Taskflow has one input and one output parameter (the BO to edit) and has two exists called "save" and "cancel". The add-Action calls a Method called "createNewBO" first and then calls the mentioned Taskflow also. Every Taskflow has ist own managed Bean in the pageFlowScope working as a Controller and DataControl for the TaskFlow and directly included views.
    The edit-action works fine. The add action also except that the table from the default activity of the first taskflow does not refresh after return from the second Taskflow. I tried to set the Refresh-Property in the PageDef to all possible values in combination with the RefreshCondition but no combination works. I can make a manual refresh or change the sorting then the new BO is shown in the table.
    Is there a possibility to call a refresh of a jsff from a taskflow or can i force the refresh on entering the jsff?
    I'm really stuck and appreciate any help ;)
    Friedrich

    You can try this:
    - on your taskflow diagram select the page that contains the table you want to refresh, and add a Page Parameter (from #{true} to #{viewScope.refresh})
    - in pageDef for that page add one invokeAction in executables and point it to methodAction that fills the iterator you want to refresh
    - for newly created invokeAction, set Refresh to ifNeeded and Refresh condition to #{viewScope.refresh}
    This should refresh the iterator each time the page (fragment) is loaded.
    Hope this helps!
    Pedja

  • How to refresh a table of data after inserting a row using ADF BC

    Hi,
    i am using ADF BC, JSF to construct a page to browse and another to create/update record. But after creating or updating the record it is not reflected when i come back to browse page.
    I tried to insert invokeaction in page definition page but i can not find the iterator bindings for that table in Binds option.
    can any one provide any example how to do it.
    Please help me.

    On the page def for your submit page, add inside the executables (on the structure pane) your iterator you want refreshed (if it isn't already there).
    Then double click on the submit button and bind it to a backing bean. My method in the backing bean looks like:
        if ( !operationBinding.getErrors().isEmpty() )
            return null;
        DCBindingContainer dcbindings = (DCBindingContainer)bindings;
        DCIteratorBinding appsIter = dcbindings.findIteratorBinding("ApplicationsIterator");
        appsIter.executeQuery();
        return null;
    }The executeQuery method will refresh that iterator for your return page. The "ApplicationsIterator" is what the structure pane calls your iterator. Works for me.
    Brian

  • Re-Query Iterator is not working (I tried everything)

    Hi,
    I'm trying to re-query an iterator with not luck, the first time it works well, but the second time it return the same data, this is the actual code:
        private static Row[] getSystems(String releaseId) {
            BindingContainer bc = BindingContext.getCurrent().getCurrentBindingsEntry();       
            OperationBinding op = bc.getOperationBinding("ExecuteWithParams3");
            op.getParamsMap().put("param_id", paramId);
            op.execute();
            DCIteratorBinding iter = (DCIteratorBinding)bc.get("Iterator");
            Row[] mappedSystems = rowSetItertor.getAllRowsInRange();
            return mappedSystems;
        }I tried things like this:
    In the property inspector set the iterator's refresh property to never never and cache to false false, the result its that the first time everything is fine, second time I don't have more info at the iterator.
    Call this metods:
    // Nothing
    iter.executeQuery();
    // It clears the data, but after that I can't obtain data from db.
    iter.getViewObject().clearCache();
    // Nothing
    iter.getViewObject().resetExecuted();
    // Nothing
    iter.executeQuery();
    iter.refresh(DCIteratorBinding.RANGESIZE_UNLIMITED);
    // Nothing
    iter.setRefreshOption(0);
    //Nothing
    iter.setRefreshOption(8192);
    // Tried to close the iterator set, second time it doesn't contain anything.
    RowSetIterator rowSetItertor = iter.getRowSetIterator();
    Row[] mappedSystems = rowSetItertor.getAllRowsInRange();
    rowSetItertor.closeRowSetIterator()Basically when the user clicks a button this code is call with the appropriate parameter, this must retrieve a row's list. This code is called in a ManageBean with TaskFlow scope.
    Any help would be great, thanks in advance.
    -Daniel
    P.S JDeveloper 11.1.1.4.0 & I also tried all the suggestions listed in this thread: Refresh Vo Iterator
    Edited by: 910260 on Jan 25, 2012 2:49 PM

    I did this but nothing (because I need to send the "param_id").
    private static Row[] getSystems(String releaseId) {
            BindingContainer bc = BindingContext.getCurrent().getCurrentBindingsEntry();       
            OperationBinding op = bc.getOperationBinding("ExecuteWithParams3");
            op.getParamsMap().put("param_id", paramId);
            op.execute();
            DCIteratorBinding iter = (DCIteratorBinding)bc.get("Iterator");
            iter.executeQuery();
            Row[] mappedSystems = rowSetItertor.getAllRowsInRange();
            return mappedSystems;
        }The properties for the iterator were Refresh = referred (default) and Cache Results = true. // Nothing
    And Refresh = never and Cache Results = false // Nothing.
    Edited by: 910260 on Jan 25, 2012 2:48 PM
    Edited by: 910260 on Jan 25, 2012 2:52 PM

  • ADF Table need to be refresh after deleting row

    In the table.
    After deleting the row use the VO,
    ViewObject reqVO = getRequestVO("Requests");
    reqVO.clearCache();
    reqVO.executeQuery();
    then refresh the table to display rows.
    AdfUtil.addPartialTarget("tableID");
    The table seems to be refreshed, but the row already be deleted still in the table.
    If leave the table page, and go back the table page,then the table display rows correct, can't the row that already be deleted.
    What is the wrong with the refreshing table?

    Can you try refreshing the iterator before setting the partial target as below?
    DCBindingContainer bindings =
    *(DCBindingContainer)BindingContext.getCurrent().getCurrentBindingsEntry();*
    DCIteratorBinding iteratorBinding =
    *(DCIteratorBinding)bindings.get("<ITERATOR_NAME_IN_PAGEDEF>");*
    *if (iteratorBinding != null) {*
    iteratorBinding.executeQuery();
    Thanks,
    Navaneeth

  • ADF Gantt Chart refresh on drag and drop not working

    Hi All,
    I am using jDev 11.1.1.6.
    I have a bounded task flow with two page fragments. On the first fragment, I have some filters and on the second fragment I show the Gantt Chart.
    I have a data change listener associated to it. When I move a task from one time to the other, the data change listener is invoked and I can see that the database values are also updated with the new time values.
    But, after the refresh the task still shows up on its old time period and not the new one. But, if I open the application again as a fresh one, it shows up in the new time period.
    I have tried refreshing the iterator within the data change listener but it still doesn't work and the gantt chart in not getting updated instantly.
    Need help.
    Thanks in advance,
    Ankit

    Hi All,
    I raised a SR for this and the analyst filed a defect. The bug number is "Bug 18195263 : ADF GANTT CHART NOT UPDATED PROPERLY WHEN MOVING A TASK".
    As a workaround, I am manually refreshing the child rows after calling the update DB procedure (Procedure that updates the start date and end date).
    //Get the Master View
    ViewObjectImpl empVO = this.getemployeeList1();
    Row[] grpRow = empVO.findByKey(new Key(new Object[] { empNo }), 1); 
    // Get Child Rows using ViewLink Accessor
    if(grpRow.length>0){
    RowSet childRows = (RowSet)grpRow[0].getAttribute("empTasksView"); 
    //Execute Child Rowset
    childRows.executeQuery(); 
    Thanks,
    Ankit

  • Refresh methodIterator cause NullPointerException

    HI Guys,
    I am using JDeveloper 10.1.3 and experiencing a strange problem with JSF Faces. I have a tree model defined in the pagedef.xml file. Every time I try to refresh the iterator binding, the NullPointerException occurs. It only happens when refreshing, not the first time. acccording to the trace stack, the exception occurs when ADF framework tries to refresh the iterator.
    Here is the code to refresh the iterator:
    DCIteratorBinding loansBinding = (DCIteratorBinding) bindings.get("findLoansIter");
    loansBinding.executeQuery();
    The following is the
    <methodIterator id="findLoansIter" Binds="findLoans.result"
    DataControl="PEPublicLocal" RangeSize="-1"
    BeanClass="pe.datamodule.beans.Loan" Refresh="renderModel"
    RefreshCondition="${adfFacesContext.postback}"/>
    <nodeDefinition DefName="pe.datamodule.beans.Loan" id="LoanNode">
    <AttrNames>
    <Item Value="dueDate"/>
    <Item Value="total"/>
    </AttrNames>
    <Accessors>
    <Item Value="loanextraCollection"/>
    </Accessors>
    </nodeDefinition>
    <nodeDefinition DefName="pe.datamodule.beans.Loanextra"
    id="LoanextraNode">
    <AttrNames>
    <Item Value="amount"/>
    <Item Value="loanExtraID"/>
    </AttrNames>
    </nodeDefinition>
    </tree>
    The exception is
    09/12/17 22:13:17 java.lang.NullPointerException
    09/12/17 22:13:17      at oracle.adf.model.generic.RowImpl.internalGetAttributeValue(RowImpl.java:154)
    09/12/17 22:13:17      at oracle.adf.model.generic.RowImpl.getAttribute(RowImpl.java:130)
    09/12/17 22:13:17      at oracle.jbo.uicli.binding.JUCtrlValueBinding.internalGetAttributeValueFromRow(JUCtrlValueBinding.java:702)
    09/12/17 22:13:17      at oracle.jbo.uicli.binding.JUCtrlValueBinding.getAttributeFromRow(JUCtrlValueBinding.java:470)
    09/12/17 22:13:17      at oracle.jbo.uicli.binding.JUCtrlValueBinding.getAttributes(JUCtrlValueBinding.java:901)
    09/12/17 22:13:17      at oracle.jbo.uicli.binding.JUCtrlHierNodeBinding.refresh(JUCtrlHierNodeBinding.java:504)
    09/12/17 22:13:17      at oracle.jbo.uicli.binding.JUCtrlHierNodeBinding.updateValuesFromRow(JUCtrlHierNodeBinding.java:523)
    09/12/17 22:13:17      at oracle.jbo.uicli.binding.JUIteratorBinding.updateValuesFromRows(JUIteratorBinding.java:315)
    09/12/17 22:13:17      at oracle.adf.model.binding.DCIteratorBinding.refreshControl(DCIteratorBinding.java:695)
    09/12/17 22:13:17      at oracle.adf.model.binding.DCIteratorBinding.rangeRefreshed(DCIteratorBinding.java:737)
    09/12/17 22:13:17      at oracle.jbo.common.RowSetHelper.fireRangeRefreshed(RowSetHelper.java:172)
    09/12/17 22:13:17      at oracle.adf.model.generic.DCRowSetIteratorImpl.notifyRangeRefreshed(DCRowSetIteratorImpl.java:1570)
    09/12/17 22:13:17      at oracle.adf.model.generic.DCRowSetIteratorImpl.buildProviderIterator(DCRowSetIteratorImpl.java:465)
    09/12/17 22:13:17      at oracle.adf.model.generic.DCRowSetIteratorImpl.fetchDataSource(DCRowSetIteratorImpl.java:394)
    09/12/17 22:13:17      at oracle.adf.model.generic.DCGenericRowSetIteratorImpl.notifyNavigationEvent(DCGenericRowSetIteratorImpl.java:331)
    09/12/17 22:13:17      at oracle.adf.model.generic.DCRowSetIteratorImpl.syncIterator(DCRowSetIteratorImpl.java:258)
    09/12/17 22:13:17      at oracle.adf.model.generic.DCRowSetIteratorImpl.first(DCRowSetIteratorImpl.java:653)
    09/12/17 22:13:17      at oracle.adf.model.binding.DCIteratorBinding.refreshControl(DCIteratorBinding.java:651)
    09/12/17 22:13:17      at oracle.adf.model.binding.DCIteratorBinding.rangeRefreshed(DCIteratorBinding.java:737)
    09/12/17 22:13:17      at oracle.jbo.common.RowSetHelper.fireRangeRefreshed(RowSetHelper.java:172)
    09/12/17 22:13:17      at oracle.adf.model.generic.DCRowSetIteratorImpl.notifyRangeRefreshed(DCRowSetIteratorImpl.java:1570)
    09/12/17 22:13:17      at oracle.adf.model.generic.DCRowSetIteratorImpl.buildProviderIterator(DCRowSetIteratorImpl.java:465)
    09/12/17 22:13:17      at oracle.adf.model.generic.DCRowSetIteratorImpl.fetchDataSource(DCRowSetIteratorImpl.java:394)
    09/12/17 22:13:17      at oracle.adf.model.generic.DCRowSetIteratorImpl.getRowAtAbsoluteIndex(DCRowSetIteratorImpl.java:1008)
    09/12/17 22:13:17      at oracle.adf.model.generic.DCRowSetIteratorImpl.syncIterator(DCRowSetIteratorImpl.java:225)
    09/12/17 22:13:17      at oracle.adf.model.generic.DCRowSetIteratorImpl.restoreCurrency(DCRowSetIteratorImpl.java:1821)
    09/12/17 22:13:17      at oracle.adf.model.generic.DCRowSetIteratorImpl.rebuildIteratorUpto(DCRowSetIteratorImpl.java:190)
    09/12/17 22:13:17      at oracle.adf.model.binding.DCDataControl.rebuildIteratorIfNeeded(DCDataControl.java:1696)
    09/12/17 22:13:17      at oracle.adf.model.generic.DCGenericDataControl.executeIteratorBindingIfNeeded(DCGenericDataControl.java:581)
    09/12/17 22:13:17      at oracle.adf.model.binding.DCIteratorBinding.executeQueryIfNeeded(DCIteratorBinding.java:1825)
    09/12/17 22:13:17      at oracle.jbo.uicli.binding.JUMethodIteratorDef$JUMethodIteratorBinding.executeQueryIfNeeded(JUMethodIteratorDef.java:289)
    09/12/17 22:13:17      at oracle.jbo.uicli.binding.JUMethodIteratorDef$JUMethodIteratorBinding$1.afterInvokeMethod(JUMethodIteratorDef.java:221)
    09/12/17 22:13:17      at oracle.adf.model.binding.DCInvokeMethod.notifyAfterInvokeMethod(DCInvokeMethod.java:667)
    09/12/17 22:13:17      at oracle.adf.model.binding.DCInvokeMethod.callMethod(DCInvokeMethod.java:228)
    Please help! This has bother me for more than a week!
    Thanks in advance

    Hi Juan,
    What do you mean by removing the query? I have the same idea like you do. I tried to close or clear or remove or release the previous query result and it did not work. I did not know whether I did not close the result properly or the refresh did not go properly. Anyway, the exception still show up. I even tried to release the rowSetIterator behind the IteratorBinding, not working.
    ( this is another question I have. I don't know how to release the query result for a page. I don't want to have the previous page query result show up when I navigate back to the same page. any idea?)
    I think the problem is where the framework tries to apply the new query result on the top of the old result and that's why it called refreshControl. The whole problem happend during that refresh control.
    If I switch the tree to table, it works immediately. If I adjust the tree to one level, it works immediately. If I only put one attribute at the first level, it works immediately.
    Also, I am using JSF/ADF with Toplink and web service. I don't know how to verify whether the model lay works or not. but like I said, the first time work always. or if I intentionally make the query result to be no record, then trying it again always works.
    Please help!
    thanks
    Steven

  • Table is not refreshed Jdev version:11.1.1.4.0

    Hi All,
    I am working with af:table component in adf.I had created a arraylist for which i added the beans and created data control.Then i dragged and dropped the arraylist as table on to the form when i run for the first time the table is containning data.when click a button and adding the beans to the table arraylist the data is not added to the table always its showing the first row only why its happening?how i can solve this issue?
    The bean scope is pageflow
    <af:table rows="#{bindings.tableList.rangeSize}"
    fetchSize="#{bindings.tableList.rangeSize}"
    emptyText="#{bindings.tableList.viewable ? 'No data to display.' : 'Access Denied.'}"
    var="row" rowBandingInterval="0"
    value="#{bindings.tableList.collectionModel}"
    selectedRowKeys="#{bindings.tableList.collectionModel.selectedRow}"
    selectionListener="#{pageFlowScope.templeteinfobean.tableChangeListner}"
    rowSelection="single" id="t1"
    binding="#{pageFlowScope.templeteinfobean.templetesTable}"
    rendered="#{pageFlowScope.templeteinfobean.tableList!=null}"
    width="520">
    <af:forEach items="#{bindings.tableList.attributeDefs}" var="def">
    <af:column headerText="templeteName"
    sortable="true" sortProperty="#{def.name}" id="c1"
    width="105">
    <af:outputText value="#{row[def.name].templeteName}" id="ot8"/>
    </af:column>
    </af:forEach>
    <af:forEach items="#{bindings.tableList.attributeDefs}" var="def">
    <af:column headerText="familyName"
    sortable="true" sortProperty="#{def.name}" id="c2"
    width="104">
    <af:outputText value="#{row[def.name].familyName}" id="ot9"/>
    </af:column>
    </af:forEach>
    <af:forEach items="#{bindings.tableList.attributeDefs}" var="def">
    <af:column headerText="templeteType"
    sortable="true" sortProperty="#{def.name}" id="c23"
    width="106">
    <af:outputText value="#{row[def.name].templeteType}" id="ot93"/>
    </af:column>
    </af:forEach>
    </table>
    Jdev version:11.1.1.4.0
    Regards,
    Smaran

    santosh a wrote:
    You may need to refresh the iterator if not already doing so in the add method....
    DCBindingContainer dcBindingContainer = (DCBindingContainer)ADFUtil.evaluateEL("#{bindings}");
    DCIteratorBinding dcIteratorBinding = dcBindingContainer.findIteratorBinding("tableListIterator");
    if (dcIteratorBinding != null) {
    dcIteratorBinding.executeQuery();
    }Add this after above code :- AdfFacesContext.getCurrentInstance().addPartialTarget(tableComponent);
    it will solve your problem

  • Refresh af: table to fetch updated/additional records from db

    Hi,
    I have a jspx page having Create New Employee form and a table showing all the Employee records. I am using ADF Faces+Session Beans(EJB3.0)+JPA.
    The create record form is not created from data control, but using adf input text boxes and binding them manually to backing bean properties, and on save button action, calling a session facade remote method, which inturn calls the persistEntity() of JPA. This is working fine.
    The table is bound to data control , showing FindAll query results. This is also working fine.
    The problem is,for example if i have 5 employee records in db, the table will show 5 records and then I create an employee record and click on save button, then i fire a sql query on db to 'select *' , it shows that record in db, but the table(on the same page) still shows 5 records. Table doesn't show the new record that I just created, even if I refresh the page.
    So, in this case PPR and refreshing the iterator which shows the table, don't work. I even tried to invoke the method which fires FindAll query, again on save button click.But, that too, din't work. What is the solution?
    Note: I am using JDev11g.

    Hi,
    Can you brief me how you are adding the records. Like ... on click of add button opening a inline pop up and is it through that???
    Try to do the following from your backing bean.
    Solution#
    ======
    Use returnlistener of the button/action link, which you are using to open the popup.
    Here is the action how the add/edit inline popup is getting opened.
    <af:commandImageLink action="editHistory"
    immediate="true" id="clEdit"
    visible="#{row.editable and (pageFlowScope.borrowerHistoryMB.userId eq row.sourceId)}"
    shortDesc="Click to edit this comment."
    icon="/images/edit.png"
    useWindow="true" windowHeight="300"
    windowWidth="500"
    *returnListener="#{pageFlowScope.borrowerHistoryMB.refreshTableData}"* >
    Code that needs to be added inside a managed bean.
    =================================
    public void refreshTableData(ReturnEvent returnEvent) {
    AdfFacesContext adfFacesContext = AdfFacesContext.getCurrentInstance();
    adfFacesContext.addPartialTarget(getHistoryTable());
    Let me know if you have issue with any of these.
    Thanks & Regards,
    Kiran Konjeti

  • Problem refreshing with partialtriggers

    Jdev 11.1.14
    I have a jspx page with a panel box->panel forms layout->some fields binded to VO
    Under this there's a paneltabbed with two showdetailitem and one region inside each paneltabbed.
    In the region there's a page fragment with a soc called soc2 (in both regions).
    I¡'m trying to refresh then upper panel box every time the soc is changed.
    In order to get this I have put in the partialtrigger property of the panel box the followin: "r3:soc2 r4:soc" where r3 and r4 are the id's of the regions and soc2 the id of the soc in the page fragment. I have also tried other combinations but I have never got the panelbox to refresh its data when the soc fileds changes its value.
    The soc fields is defined as autosubmit.
    Any idea ?

    Looking at the weblogic server logs I can find this:
    <DCExecutableBinding> <refreshIfNeeded> [6567] Invoke refresh for :SvNombresServicioViewPanelLateralAlumnosIterator
    <DCIteratorBinding> <refresh> [6568] Executing and syncing on IteratorBinding.refresh from :SvNombresServicioViewPanelLateralAlumnosIterator
    <DCUtil> <findSpelObject> [6569] DCUtil, returning:oracle.jbo.uicli.binding.JUApplication, for AppModuleDataControl
    <DCJboDataControl> <initializeApplicationModule> [6570] (oracle.adf.model.bc4j.DataControlFactoryImpl.SyncMode = Immediate
    <ApplicationPoolImpl> <reuseReferencedInstance> [6571] Reusing a cached session application module instance
    <ADFLogger> <begin> Attaching an iterator binding to a datasource
    <DCIteratorBinding> <getViewObject> [6572] Resolving VO:SvNombresServicioViewPanelLateralAlumnos for iterator binding:SvNombresServicioViewPanelLateralAlumnosIterator
    <ADFLogger> <addContextData> Attaching an iterator binding to a datasource
    <ADFLogger> <begin> Estimated row count
    <ADFLogger> <addContextData> Estimated row count
    This is the iterator of the panel box: SvNombresServicioViewPanelLateralAlumnosIterator
    It seems that doesn't execute the query to refresh the iterator.
    When the panel is corerctly updated I can see in the logs something like this:
    <DCExecutableBinding> <refreshIfNeeded> [7497] Invoke refresh for :SvNombresServicioViewPanelLateralAlumnosIterator
    <DCIteratorBinding> <refresh> [7498] Executing and syncing on IteratorBinding.refresh from :SvNombresServicioViewPanelLateralAlumnosIterator
    <ADFLogger> <begin> Attaching an iterator binding to a datasource
    <DCIteratorBinding> <getViewObject> [7499] Resolving VO:SvNombresServicioViewPanelLateralAlumnos for iterator binding:SvNombresServicioViewPanelLateralAlumnosIterator
    <DCIteratorBinding> <setRangeSizeForRSI> [7500] Changing iterator range size from :1 to :25
    <ADFLogger> <addContextData> Attaching an iterator binding to a datasource
    <ViewRowSetImpl> <doSetWhereClauseParam> [7501] SvNombresServicioViewPanelLateralAlumnos ViewRowSetImpl.doSetWhereClause(-1, SvAgrCodigo, 1)
    <ViewRowSetImpl> <doSetWhereClauseParam> [7502] SvNombresServicioViewPanelLateralAlumnos ViewRowSetImpl.doSetWhereClause(-1, Idioma, ESP)
    <ViewRowSetImpl> <doSetWhereClauseParam> [7503] SvNombresServicioViewPanelLateralAlumnos ViewRowSetImpl.doSetWhereClause(-1, SvTipSerCodigo, 1)
    <ViewRowSetImpl> <execute> [7504] SvNombresServicioViewPanelLateralAlumnos ViewRowSetImpl.execute caused params to be "un"changed
    <QueryCollection> <createColumnList> [7505] Column count: 11
    <ViewRowSetImpl> <setWhereClauseParamsInternal> [7506] SvNombresServicioViewPanelLateralAlumnos ViewRowSetImpl.setWhereClauseParams caused params changed
    <ViewRowSetImpl> <doSetWhereClauseParam> [7507] SvNombresServicioViewPanelLateralAlumnos ViewRowSetImpl.doSetWhereClause(-1, SvAgrCodigo, 1)
    <ViewRowSetImpl> <doSetWhereClauseParam> [7508] SvNombresServicioViewPanelLateralAlumnos ViewRowSetImpl.doSetWhereClause(-1, Idioma, ESP)
    <ViewRowSetImpl> <doSetWhereClauseParam> [7509] SvNombresServicioViewPanelLateralAlumnos ViewRowSetImpl.doSetWhereClause(-1, SvTipSerCodigo, 1)
    <ViewRowSetImpl> <execute> [7510] executeQueryForCollection ViewObject:SvNombresServicioViewPanelLateralAlumnos, RowSet:SvNombresServicioViewPanelLateralAlumnos
    <ADFLogger> <begin> Execute query
    <ViewObjectImpl> <closeStatementsResetRowSet> [7511] ViewObject: [edu.esade.model.VO.SvNombresServicioView]AppModule.SvNombresServicioViewPanelLateralAlumnos close prepared statements...
    <ViewObjectImpl> <getPreparedStatement> [7512] ViewObject: [edu.esade.model.VO.SvNombresServicioView]AppModule.SvNombresServicioViewPanelLateralAlumnos Created new QUERY statement
    <ViewObjectImpl> <buildQuery> [7513] SvNombresServicioViewPanelLateralAlumnos>#q computed SQLStmtBufLen: 576, actual=538, storing=568
    <ViewObjectImpl> <buildQuery> [7514] SELECT SvNombresServicio.SVTIPSER_CODIGO, SvNombresServicio.SVAGR_CODIGO, SvNombresServicio.NOMBRE, SvNombresServicio.AMBITO, SvNombresServicio.CONTENIDO, SvNombresServicio.RESTRICCIONES, SvNombresServicio.TEXTO_ADICIONAL, SvNombresServicio.IDICOD_CODIGO FROM SV_NOMBRES_SERVICIO SvNombresServicio WHERE ( ( (SvNombresServicio.SVTIPSER_CODIGO = :SvTipSerCodigo ) AND (SvNombresServicio.SVAGR_CODIGO = :SvAgrCodigo ) AND (UPPER(SvNombresServicio.IDICOD_CODIGO) = UPPER(:Idioma) ) ) )
    <ViewObjectImpl> <bindParametersForCollection> [7515] Bind params for ViewObject: [edu.esade.model.VO.SvNombresServicioView]AppModule.SvNombresServicioViewPanelLateralAlumnos
    <OracleSQLBuilderImpl> <bindParamValue> [7516] Binding param "SvAgrCodigo": 1
    <OracleSQLBuilderImpl> <bindParamValue> [7517] Binding param "Idioma": ESP
    <OracleSQLBuilderImpl> <bindParamValue> [7518] Binding param "SvTipSerCodigo": 1
    <ADFLogger> <addContextData> Execute query
    <ADFLogger> <addContextData> Execute query

Maybe you are looking for