You can try in this way:

  | Object o = 
FacesContext.getCurrentInstance().getExternalContext().getRequest();
  | PortletRequest request = (PortletRequest) o;
  | PortletPreferences pp = request.getPreferences();
  | pp.setValue(preferenceKey,value);
  | pp.store(); 
  | 

Hope this helps.

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

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4245577
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to