Retaining page reference in OAF in case of navigation to multiple pages.
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.