Download sample application - UserCustomizationsSession.zip. In order to implement persistence of user changes during active session, just go to ViewController project properties and in ADF View section set Enable User Customizations For Duration of Session.
Thats it, pretty straightforward. Now how it works - let's open page with Query Criteria and results table:
First column is FirstName, second column is LastName - let's swap those columns and put LastName column as first:
Press Close button to return to Index page:
As it was working before, if user will open same page with Query Criteria and results table, FirstName would be again as first column. But now, since we have enabled User Customizations and it works - as first column will remain LastName:
3 comments:
Thanks Andrejus,
I was creating a proof of concept app for saving searches across sessions using MDS.
I did use your sample application and added the following to make it work:
Code to adf-config.xml as mentioned in http://www.oracle.com/technology/products/jdev/htdocs/11/11.1.1.1/knownissues.html#cust8
ADF Authentication & Authorization
Also I checked "Across Sessions using MDS" instead of "For duration of Session"
It does work fine.
Thanks for your sample app :)
- Husain
Hi Husain,
Thanks a lot for exploring it and posting your findings. I'll update my sample in next post accordingly.
Regards,
Andrejus
Post a Comment