How to refresh the Iterator from the Managed Bean in ADF Mobile applciation.

When we want to programmatically refresh the Iterator “addressBookResultIterator” the was added in the AMX Page Bindings section from the Managed bean, we need to use the below code –

//refresh the addressBookResultIterator to reflect the changes in the UI after clear the details in the ArrayList

ValueExpression veIter1 =                           (ValueExpression)AdfmfJavaUtilities.getValueExpression(“#{bindings.addressBookResultIterator}”, Object.class);

AmxIteratorBinding iteratorBinding1 =                           (AmxIteratorBinding)veIter1.getValue(AdfmfJavaUtilities.getAdfELContext());


Now the Iterator “addressBookResultIterator” will refresh from the Managed Bean code.

This entry was posted in ADF Mobile and tagged , , , , . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s