OK, maybe the MyFacesGenericPortlet doesn't care about the Portal version, but
nevertheless we get a ClassCastException when the MyFacesGenericPortlet attempts to get a
handle to the FacesContext. The exception occurs in the facesContext method:
| protected FacesContext facesContext(PortletRequest request,
| PortletResponse response)
| {
| return facesContextFactory.getFacesContext(portletContext,
| request,
| response,
| lifecycle);
| }
|
In Portal 2.6 the facesContextFactory reference references an instance of
com.sun.faces.context.FacesContextFactoryImpl and when the getFacesContext method is
invoked on this factory object the ClassCastException occur.
In Portal 2.4 the facesContextFactore references an instance of
org.apache.myfaces.context.FacesContextFactoryImpl. Is it possible to change the
facesContextFactory implementation for our only application?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4080498#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...