[jboss-user] [JBoss Portal] - JSF and Portal

kreilly do-not-reply at jboss.com
Thu Mar 29 17:03:04 EDT 2007


In my portlet's edit mode, I let a user make some configuration selections.  This is done using JSF.  When the user submits the form, I would like to save that data using the PortalPreferences object.  The problem I'm having is  with JSF, I do not have a request object when my form is submitted (a plain method off a managed bean is called). Without a request object I can not get to the PortalPreferences object for this user.  So my question is:

How do I get to JSF managed beans from the actionPerformed method?

Or

How do I get a request object from a method managed by JSF?

Or, if you know of a better way to handle JFS/Portal edit mode, feel free to offer suggestions.

Thanks.

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

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



More information about the jboss-user mailing list