WebSphere Portal Server - modifying portlet preferences on link request jsf component

This is Interesting: Free IT Magazines  
Home > Archive > WebSphere Portal Server > July 2007 > modifying portlet preferences on link request jsf component





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 modifying portlet preferences on link request jsf component

2007-07-25, 7:22 am

Hi,

I'm modifying the value of a portlet preference on the action of a LinkRequest tag. When the link is called I get the following error:
Failed to store search preferences

java.lang.IllegalStateException: store is not allowed inside a render call
at org.apache.pluto.core.impl.PortletPreferencesImpl.store(PortletPreferencesImpl.java:386)

I modify the portlet preference and store in on each click on the request link.

I tried doing the same thing with a command button and did not get the above error. Is there a reason why a request link action will be executed in the portlet render phase and the command button is executed in the action phase?

Would anyone know how to get a link to modify a portlet preference properly?
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com