I am using a Struts Application which has been ported into the Jboss Portal Server. The portal has been working fine. Thanks to the JBoss Struts Bridge. Now how can i get the PortletPreferences to my Struts Action class so that i store state data for each users.
I was going through documentation on Struts brigde but they havenot mentioned abot the prefences. Can any one help me out in this.?
Thanks in Advance
Got hold of the solution.
We need to get get the PortalRequest from the HTTPServlet Request by using the getAttribute javax.portal.request.
Once we get the PortalRequest we can get the preferences and set the value and store it.
Thanks & Regards