RegeionController.refreshRegion() not working as expected at initial render
818962May 8 2012 — edited May 10 2012Hi,
I am using JDeveloper 11.1.1.6.
I have a task flow with page fragments and I would like to execute some custom codes at the RENDER_MODEL phase when the fragment inside the task flow is initially rendered.
I implemented RegeionController, put the costom codes in refreshRegion(), and set the class to the ControllerClass attribute of the pageDef file.
However, at initial render, the refreshRegion() method is only fired at the PREPARE_MODEL phase and not at the RENDER_MODEL phase.
On the other hand, refreshRegion() is always fired at the both phases at postback.
Strangely, if the region is not rendered at initial render of the parent page because it is put on the af:showDetailItem tag that is not initially disclosed, refreshRegion() is fired at the both phases even at initail render of the parent.
Any ideas?
Regards,
Kenji