i am new to that great forum and a newbie in developing portlets. I hope you can help me.
I have two portlets. The first one should be the peferences Portlet.
There i use the 'PortletPreferences' Class to store user specific preferences.
The second portlet needs access to those preferences.
I tried it with the PortletSession.APPLICATION_SCOPE
In the doView() Method of portlet 1 i get the preferences and set the Attribute in the Application_Scope.
But this solution only works with an refresh of the page.
But i need those information (from the first portlet) at the first renderPhase of the second portlet.
I use Liferay 5.2.0 on Tomcat as portlet container.
So far i know liferay 5.2.0 is compatible to jsr 286 (portlet 2.0 api).
So how can i send an Message from the first portlet to the second portlet in the doview() method?
Or exist other solution of my problem? Maybe userscope/usersession/userattribute and how to use it?
Is there any description of ipc(interportlet communication)?