WebSphere Portal Server - Re: Problems with custom Config mode in JSR168 Portlet WPS

This is Interesting: Free IT Magazines  
Home > Archive > WebSphere Portal Server > November 2006 > Re: Problems with custom Config mode in JSR168 Portlet WPS





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Re: Problems with custom Config mode in JSR168 Portlet WPS

2006-11-29, 7:24 pm

I'm running into the same issue with an JSR 168 type portlet. I'm saving the PortletPreferences but than after a few minutes they just vanish altogether. The code in the processAction method is as follows:

PortletPreferences prefs = request.getPreferences();
prefs.setValue("myKey", "myValue");

I have an entry in the portlet.xml for this key as such:

<preference>
<name>myKey</name>
<value></value>
<read-only>false</read-only>
</preference>

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com