Hi ADF experts,
We have migrated a set of ADF fusion applications from 11.1.1.5.0 to 12.2.1.4.0. We followed the migration path suggested by Oracle i.e. 11.1.1.5.0 > 11.1.1.9.0 > 12.2.1.4.0.
There is a shared template jspx file which has a menu navigation as below.
RichMenuBar > RichMenu > RichGoMenuItem
RichGoMenuItem.setDestination("URLs of the pages in the fusion applications")
Eg. menuItem1.setDestination("http://127.0.0.1:7101/MenuNavigationSample-ViewController-context-root/faces/Menu.jspx");
The menus are built programmatically based on the user roles.
Eg. Page 1 has a Bounded taskflow which has three views A, B, C. On first visit user does some DML on view A and navigates to view B or C. After that he clicks on a menu containing Page 2. Page 2 is rendered. He does some activity there. Now the user is navigating back to Page 1 by clicking on its menu.
Behavior in 11g: Page 1 is refreshed, BTF refreshes itself and the default activity i.e. View A is rendered. All old values are discarded. Looks like ADF controller recognizes it as a new request.
Issue/Behavior in 12c: Page 1 retains its state i.e. the values which were cached during the last visit and View B or C is rendered instead a of View A.
How can I achieve the same functionality as 11g in 12c? I tried to change the state saving parameters in web.xml and used client/server listeners to restart the taskflows but without any luck. I think this has to do something with weblogic's state management.
Also noticed the URL's in 11g are appended with parameters - _afrLoop=236618952252700&_afrWindowMode=0&_adf.ctrl-state=qelxk1itr_17
On every menu click the afrLoop and _adf.ctrl-state changes its values which helps the page to get back to its initial state.
Any help will be much appreciated!