WebSphere Portal Server - Preferences Storing JSR 168 gives javax.portlet.ReadOnlyException:

This is Interesting: Free IT Magazines  
Home > Archive > WebSphere Portal Server > November 2006 > Preferences Storing JSR 168 gives javax.portlet.ReadOnlyException:





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 Preferences Storing JSR 168 gives javax.portlet.ReadOnlyException:

2006-11-17, 7:33 am

Hi,

We are trying to remote consume a portlet that is deployed in an App server and consume it within IBM Portal versioned 5.1.0.1.

We are trying to store something in the preferences something like this
PortletPreferences prefs = request.getPreferences();
prefs.setValue("userName",request.getParameter("username"));
prefs.store();


and we are getting a ReadOnlyException

any pointers towards sorting this will be higly appreciated.

Thanks
Mouli
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com