modifying portlet preferences on link request jsf component
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > WebSphere > WebSphere Portal Server > modifying portlet preferences on link request jsf component




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    modifying portlet preferences on link request jsf component  


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
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 ]



    Sponsored Links  




 





   All times are GMT. The time now is 10:18 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register