-
1. Re: Portlet Preferences and serveResource method
analyzediz Oct 14, 2008 10:57 AM (in response to analyzediz)Here's some additional info that I might have omitted; I'm running on JBoss Portal 2.7.1 CR1 (Bundled). My database is MySQL. The portlet is coded to take advantage of the Portlet 2.0 spec.
Can anyone please help?
Thanks. -
2. Re: Portlet Preferences and serveResource method [JIRA Issue
analyzediz Nov 12, 2008 1:07 AM (in response to analyzediz)On closer examination of the JBoss code, it's almost certain that this is a defect and an issue has been filed in JIRA to this effect.
Refer to it at https://jira.jboss.org/jira/browse/JBPORTAL-2232 -
3. Re: Portlet Preferences and serveResource method [JIRA Issue
brunovernay Jun 14, 2010 9:51 AM (in response to analyzediz)Hello,
It looks like I have the same issue using GateIn 3.0 (Tomcat) or GateIn 3.1cr1 (JBoss)
I stepped through the code and when the store() method is called my new preference is removed from the updates but not added to the permanent preferences.
Also there is this sentence "The
store
method can only be invoked within the scope of aprocessAction
call." in http://portals.apache.org/pluto/portlet-api/apidocs/javax/portlet/PortletPreferences.html#store()But in practice, it sounds logical that it should work: "... you can make some state changes in the serveResource call: Change the portlet preferences ..." http://www.ibm.com/developerworks/websphere/library/techarticles/0803_hepper/0803_hepper.html#N10186 and it works in Liferay 6.
Did I miss something ? What is the status on this ??
Regards
Bruno