Hello All:

I have something I have been struggling with for a few hours now.  I have a 
portlet created which is bridged to JSF via the MyFacesGenericPortlet.  When 
outside of the portlet environment, I can set a bean for a JSP page to use 
using syntax similar to the following:

FacesContext.getCurrentInstance().getExternalContext().getSessionMap().put("BeanNameUsedInJSP",
 BeanObject);

Inside of the portal environment, I receive the following error:

java.lang.UnsupportedOperationException: Cannot set PortletRequest Parameter

Is it possible to initialize a bean and place it into the session so that a 
resulting JSP page can utilize/display the bean's properties?

Thanks for your help.

Jeff


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

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

Reply via email to