Hi, I'm working on integrating MyFaces 1.2 into Geronimo 2.0 to satisfy the JSF portion of the JEE5 spec. Tim McConnell has also contacted you about this effort. We are making very good progress now but I have a few questions and would appreciate your input.
Question 1: I didn't find a MyFaces 1.2 snapshot published in the snapshot repo so I built the current12 branch and checked it into Geronimo's svn as a temporary solution. Any chance you could publish a snapshot? Question 2: After integrating MyFaces into Geronimo's Tomcat container (v6.0.8) I found that I could deploy JSF applications and pass many tests. However, I found that several of the JSTL tests no longer worked. It seems that when MyFaces has been enabled it assumes that all the JSPs in a web app will produce a FacesContext. But that's not the case for JSPs like the following: <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> <% java.util.ArrayList mylist = new java.util.ArrayList(); mylist.add("one"); mylist.add("two"); mylist.add("three"); pageContext.setAttribute("mylist", mylist); %> <c:forEach var="x" items="${mylist}"> <p>${x}</p> </c:forEach> And the error is: java.lang.NullPointerException org.apache.myfaces.el.unified.resolver.ManagedBeanResolver.externalContext(ManagedBeanResolver.java:217) org.apache.myfaces.el.unified.resolver.ManagedBeanResolver.getValue(ManagedBeanResolver.java:146) javax.el.CompositeELResolver.getValue(CompositeELResolver.java:53) javax.el.CompositeELResolver.getValue(CompositeELResolver.java:53) org.apache.el.parser.AstIdentifier.getValue(AstIdentifier.java:45) org.apache.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:186) org.apache.jasper.el.JspValueExpression.getValue(JspValueExpression.java:101) org.apache.jsp.index_jsp._jspx_meth_c_005fforEach_005f0(index_jsp.java:95) org.apache.jsp.index_jsp._jspService(index_jsp.java:68) org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98) javax.servlet.http.HttpServlet.service(HttpServlet.java:803) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:384) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266) javax.servlet.http.HttpServlet.service(HttpServlet.java:803) This looks like there's a problem in the resolvers where the ELContext is expected to always have a FacesContext. Am I diagnosing this correctly? Best wishes, Paul
