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!

Retaining page reference in OAF in case of navigation to multiple pages.

user616963Jan 22 2010 — edited Jan 22 2010
Hello All,


We need some help in handling the below scenario:-

Scenario:_

We have a screen which has a Headers and lines section.
Lines section is based on advanced table.

We are performing an operation 'Approve' on a line which is in Page2 (Displaying 10 lines per page).
Before calling 'Approve' procedure in AM some validations are performed.

Case1: Validations Passed. ‘Approve' procedure in AM called.

Case2: Validations failed. A 'Warning' window will be shown with two buttons 'Proceed' and 'Cancel'.
If user clicks 'Proceed' then 'Approve' procedure will be called as usual.

I was able to Retain the current page (Page2) in Case1.
But in Case2, Page1 is getting displayed (Reference to current page i.e. page2 is Lost).

After 'Approve' operation we are *'Re-initializing'* the lines section so that the changes will be reflected.
Due to this 'Re-initializing' page reference is lost.
I’m setting the *‘Retain AM’* property to ‘true’ in both the ‘Lines’ and ‘Warning’ pages.

Any inputs on handling this case will be really helpful.



Thanks in Advance,

Satya.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 19 2010
Added on Jan 22 2010
1 comment
1,010 views