[jboss-user] [JBoss Portal] - Re: JSF and Tiles: Issues with Jboss Portal

bhupeshs do-not-reply at jboss.com
Thu Oct 12 10:33:33 EDT 2006

I analyzed it  a little bit more and found this.

The getServletMapping(ExternalContext ctx) method of JspTilesViewHandler tries to get the servletPath from the ExternalContext. In case of portlets the external context PorteltExternalContextImpl will always return a null servletPath. Also there are other instances where a ServletRequest and ServletContext are directly type casted from ExternalContext.getContext() and so on.

In short the JspTilesViewHandler is incompatible for portlets. Does anyone know of any other viewHandler for JSF which can handle both tiles and protlets?

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

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

More information about the jboss-user mailing list