methodIterator Does Not Execute Even When RefreshCondition Evaluates to True

(Doc ID 438706.1)

Last updated on AUGUST 04, 2016

Applies to:

Oracle JDeveloper - Version: to - Release: Oracle10g to Oracle11g
Information in this document applies to any platform.


Suppose an ADF Faces page displaying a collection of data from a methodIterator, calling a session bean method. The Page Definition is defined as the following:
<pageDefinition ...>
  <executables>           <methodIterator DataControl="MyServiceLocal" BeanClass="test.model.Contact"
                    Binds="Contact.result" id="ContactIter"
                    RefreshCondition="${!adfFacesContext.postback and empty bindings.exceptionsList}"/>
    <methodAction id="addContact" InstanceName="MyServiceLocal.dataProvider"
                  DataControl="MyServiceLocal" MethodName="addContact"
                  RequiresUpdateModel="true" Action="999"
      <NamedData NDName="c" NDValue="${bindings.Contact.result}"

This collection is only fetched the first time the page is invoked.
Afterwards, navigating back to the page does not re-execute the methodIterator, regardless of the Refresh and RefreshCondition settings.
The changes (new records or updated records) are not displayed in the page.


Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms