Problem refreshing an ADF form
1011684May 29 2013 — edited May 29 2013Hi, everybody.
I'm working with Oracle ADF 10.3.
I have a page (Page 1) that has three af:selectOneChoice componentes bound to an XML Pagedef in which I load the values of the select items by a methodAction and using a methodIterator.
The page 1 has to save the content of the form and redirect to another page (Page 2). When I return to the Page 1 it has to be clear, but it doesn't.
I tried to refresh the page 1 using this code in the pageDef:
<invokeAction id="refreshAlways1" Binds="crearInterfazIntermedia"
Refresh="always" RefreshCondition="${adfFaces.postback}"/>
It doesn't fix the problem (I tried it with all the methods I use in the form).
Some body told me about a problem with the Iterators that make them save the status of the last selection for all the time the session is active. So, How may I reset the iterators from a java program bound to the jspx file? any other solution to reset the SelectOneChioce components into a blank status?
Thanks in advance.