Hello everybody,

we tried out some development issues porting portlets from Liferay to
Jetspeed-2. Jetspeed is running in version 2.2.1 on Tomcat.
Comming from Liferay I found out, that same functions in Liferay do not
behave like in Jetspeed. On storing PortletPreferences I run into the
following problem:
If I login into Jetspeed as admin, I am able to go into the "edit" page
(edit mode from portlet spec) of my portlet. I am able to set some
values and to save them into PortletPreferences, by the following code:

-----------------------------------------------------
...
PortletPreferences prefs = request.getPreferences();
prefs.setValue("foobar-key", "foobar");
prefs.store();
...
-----------------------------------------------------

After saving the preferences as described above, everything is as it
should be. The preferences are stored, and the portlet is running. But
right after I have logged out from Jetspeed, nothing is working anymore
for my portlet. The preferences for the portelt seem to be empty. Where
have all the values gone? The portlet is designed to be a multiuser
portlet and should be accessed by anonymous users as well. The question
is: Is it possible in Jetspeed (as in Liferay) to store/access
preferences for a portlet anonymously for all users, because I want to
have these settings not only for the admin account as described above?

I am looking forward to any helpful response,
Johannes Höchstädter

--

Johannes Höchstädter
www.memocomp.de


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to