[jboss-user] [JBoss Portal] - Re: Error from JSF app deployed as portlet

thomas.heute@jboss.com do-not-reply at jboss.com
Tue Jan 9 10:05:01 EST 2007


It is called, check your debugger settings.

And the error is supposed to happen:
HttpSession lo_HttpSession = (HttpSession)FacesContext.getCurrentInstance().
			getExternalContext().getSession(false);

You mustn't cast it:
FacesContext.getCurrentInstance().
			getExternalContext().getSession(false)

returns a PortletSession in a portlet environment

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

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



More information about the jboss-user mailing list