I should add that doing a bundle:capabilities on the Pax Web bundle shows:

osgi.wiring.package; javax.el 2.2.0 required by:
   org.apache.myfaces.core.impl [266]
   org.apache.myfaces.core.api [267]

which is encouraging, but then shows this:

osgi.wiring.package; com.sun.el 2.1.0.v20091210 required by:
   org.ops4j.pax.web.pax-web-jetty [79]
   org.ops4j.pax.web.pax-web-runtime [78]

which is not.

And the exception I get which points to EL 2.2 missing is:

javax.servlet.ServletException: Error Parsing: #{codesBean.genders.keySet()}
        at
javax.faces.webapp.FacesServlet.service(FacesServlet.java:221)[267:org.apache.myfaces.core.api:2.1.0]
...
Caused by: javax.el.ELException: Error Parsing:
#{codesBean.genders.keySet()}
        at
com.sun.el.lang.ExpressionBuilder.createNodeInternal(ExpressionBuilder.java:171)[136:org.ops4j.pax.web.pax-web-jsp:3.1.0]
        at
com.sun.el.lang.ExpressionBuilder.build(ExpressionBuilder.java:188)[136:org.ops4j.pax.web.pax-web-jsp:3.1.0]
        at
com.sun.el.lang.ExpressionBuilder.createValueExpression(ExpressionBuilder.java:232)[136:org.ops4j.pax.web.pax-web-jsp:3.1.0]
        at
com.sun.el.ExpressionFactoryImpl.createValueExpression(ExpressionFactoryImpl.java:92)[136:org.ops4j.pax.web.pax-web-jsp:3.1.0]
        at
org.apache.myfaces.view.facelets.tag.TagAttributeImpl.getValueExpression(TagAttributeImpl.java:366)[266:org.apache.myfaces.core.impl:2.1.0]

Other EL expressions that just refer to getters work fine.  But calling
methods which was added in EL 2.2 fails.



--
View this message in context: 
http://karaf.922171.n3.nabble.com/Using-JSP-EL-2-2-with-Karaf-3-0-1-tp4033584p4033585.html
Sent from the Karaf - User mailing list archive at Nabble.com.

Reply via email to