In a previous post ( TP4 ) I already showed how you an application user can personalize the JSF pages of the ADF 11G application and that ADF will persists these username, role or site changes in a file or database. In TP4 I had to configure MDS manually. With the July release of JDeveloper 11g we can do this with a few wizards.
First we need to enable Customizations the viewcontroller project options. Enable User and Seeded CustomizationsOpen the adf-config.xml where we have to select the type of customization. We can choose user , role or site. You can always make your own customization class and select this class instead of the default options.
I choose for UserCC, this means I need to enable and configure ADF Security
Select Tag Configuration and choose for example column. This mean the user can change the properties of a table column.In this case I want to enable that the user can change the column order and the width of the column.
The last step is to configure MDS or the Metadata repository. for this we need to go the application properties.
Make a new MAR deployment profile.
Select the MDS option where we can select the just created MAR profile.
Finally we can run your ADF application and change the column order of a ADF table. We can see these changes on our file system. ( JDEV_USER_HOME JDeveloper\system11.1.1.1.33.54.07\o.mds.dt\adrs )
Thursday, July 2, 2009
Customize and personalize your JSF pages with MDS / FMW 11G
Labels:
jdeveloper 11g,
MDS
Subscribe to:
Post Comments (Atom)

6 comments:
Hi ,
I tried to execute this example without having ADF Security. But I got and Warrning message saying,
“WARNING: ADFv: Trouble getting the mutable document from MDS. oracle.mds.exception.NoTipCustomizationLayerException: MDS-00091: Unable to customize /pages/clientCM_Edit.jspx, empty or null value for tip customization layer user.
Aug 21, 2009 10:48:41 AM oracle.adf.view.rich.change.MDSDocumentChangeManager getDocument ”
You knows how to solved this issue, please let me know. Please be kind enough to drop and mail to "sunanda@millenniumit.com"
Thanks,
Sunanda.
Hi Sunanda,
I also got a warning but it works for me , but I think you adf security when you use userCC . what did you use
thanks Edwin
Hi Andreas,
I don't knwo if this is possible but I think this is possible. Did you configure a file or db mds repository on the wls server.
ADF communicates to the file or db mds repos and to the em website.
thanks Edwin
Hi Edwin,
Now my application also worked properly, Thanks for your help. But I have the same question, “How to configure WLS to store user customization .xml MDS files? “
Hi Sunanda,
Did you read this http://biemond.blogspot.com/2009/07/mds-repository-for-adf-11g.html
this blog is about the mds store in the enterprise manager
hope this helps
Hi Edwin,
Thank you very much for your help. I follow your link and try to work according to your post.
Now we got and technical issue, RCU can only load schema in Oracle Database with version 10.2.0.4 and higher or 11.1.0.7 and higher. At present our Oracle Database version is 10.2.0.3. Because of that, to install RCU we need to upgrade Oracle Database with version 10.2.0.4.
After doing that I will try your solution.
Thanks,
Regards,
Sunanda
Post a Comment