You can use the PortletPreferences.store() method directly.  Behind the scenes, 
JBoss Portal will save your user preferences (values) in table 
jbp_user_pref_prop_value (if you want to check with your DB GUI tool).

In your portlet you should:

1. obtain a reference to PortletPreferences:

PortletPreferences portletPrefs = portletRequest.getPreferences();
  | 

2. update the desired values of the preferences:

portletPrefs.setValue(...) or portletPrefs.setValues(...)

3. Invoke portletPrefs.store().



View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3894707#3894707

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3894707


-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to