Add the portlet session bean to the Personalization engine
Register the session bean with the Personalization engine. To enable the Personalization engine to leverage data in session bean:
Same thing can be done using object cache, we can update values in object cache from application and the stored values can be read from the custom pzn SelfInitializationApplicationObject implementation class.
Different technique can be also used to hide the portlet i.e. portlet eventing.
Hide portlet through external class (SelfInitializationApplicationObject): http://wpcertification.blogspot.com/2011/01/how-to-show-or-hide-portal-or-portlet.html
Issue discussed on setting Personalization Attributes from Portlets:
https://www.ibm.com/developerworks/community/forums/html/topic?id=77777777-0000-0000-0000-000014177630
Register the session bean with the Personalization engine. To enable the Personalization engine to leverage data in session bean:
- Export the session bean class as a jar file with full class path.
- Copy it to <wp>/pzn/v6.0/collections directory on the WebSphere Portal machine.
- Restart WebSphere Portal server to load the jar file.
- Create an application object in Personalization.
- Session key and class name are required fields for the creation of the application object
- Specify the fully qualified class name
Same thing can be done using object cache, we can update values in object cache from application and the stored values can be read from the custom pzn SelfInitializationApplicationObject implementation class.
Different technique can be also used to hide the portlet i.e. portlet eventing.
Hide portlet through external class (SelfInitializationApplicationObject): http://wpcertification.blogspot.com/2011/01/how-to-show-or-hide-portal-or-portlet.html
Issue discussed on setting Personalization Attributes from Portlets:
https://www.ibm.com/developerworks/community/forums/html/topic?id=77777777-0000-0000-0000-000014177630
No comments:
Post a Comment