>>>>> On Mon, 10 Apr 2006 22:54:11 -0500, Stan Silvert <stan.silvert@JBOSS.COM>
SS> OK, I hope this is just because my head is still spinning from today's
SS> RedHat events. But it looks like JSF 1.2 is incompatible with Portlet
SS> The problem is with the "Faces ELResolver for JSP". To register this
SS> resolver, I have to call JspFactory.getJspApplicationContext() and pass
SS> in the ServletContext. The problem with that is that portlets don't
SS> have access to the ServletContext. They have the PortletContext
SS> instead. PortletContext provides most of the same methods, but it
SS> doesn't implement ServletContext.
Well, strictly speaking this problem is that JSP 2.1 is not compatible
with Portlet 1.0.
This could be fixed in the JSF-Portlet integration library by having a
ServletContext be declared in the jsf-portlet.tld.
This listener could either install the ELResolver directly, or it could
save away the ServletContext for later use when installing the
In any case, I have filed a bug on JSP 2.1: