Skip to Main Content

Java Development Tools

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

RegeionController.refreshRegion() not working as expected at initial render

818962May 8 2012 — edited May 10 2012
Hi,

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
This post has been answered by Frank Nimphius-Oracle on May 9 2012
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 7 2012
Added on May 8 2012
3 comments
147 views