07-25-07 12:22 PM
Hi,
I'm modifying the value of a portlet preference on the action of a LinkReque
st 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(PortletPreference
sImpl.java:386)
I modify the portlet preference and store in on each click on the request li
nk.
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?
[ Post a follow-up to this message ]
|