-
Task
-
Resolution: Done
-
Major
-
1.0.0.GA
-
None
-
Compatibility/Configuration
-
Medium
We should link against the EL API 2.2 rather than 2.1. EL 2.2 has support for parametrized method expressions, which Red Hat pushed strongly for to get into Java EE 6. Therefore, we should not only be supporting it, but showing it off. Right now, using a parametrized method expression in a Facelets view throws an exception.
We also need to push this upstream into JBoss AS 6 so that EL 2.2 is supported out of the box. Right now, it ain't.
javax.faces.view.facelets.TagAttributeException: /home.xhtml @26,140 action="#
{game.check(game.guess)}" Error Parsing: #{game.check(game.guess)} com.sun.faces.facelets.tag.TagAttributeImpl.getMethodExpression(TagAttributeImpl.java:225)
com.sun.faces.facelets.tag.jsf.ActionSourceRule$ActionMapper2.applyMetadata(ActionSourceRule.java:97)
com.sun.faces.facelets.tag.MetadataImpl.applyMetadata(MetadataImpl.java:74)
javax.faces.view.facelets.MetaTagHandler.setAttributes(MetaTagHandler.java:122)
javax.faces.view.facelets.DelegatingMetaTagHandler.setAttributes(DelegatingMetaTagHandler.java:96)
com.sun.faces.facelets.tag.jsf.ComponentTagHandlerDelegateImpl.apply(ComponentTagHandlerDelegateImpl.java:153)
javax.faces.view.facelets.DelegatingMetaTagHandler.apply(DelegatingMetaTagHandler.java:114)
javax.faces.view.facelets.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:91)
javax.faces.view.facelets.DelegatingMetaTagHandler.applyNextHandler(DelegatingMetaTagHandler.java:120)
com.sun.faces.facelets.tag.jsf.ComponentTagHandlerDelegateImpl.apply(ComponentTagHandlerDelegateImpl.java:204)
javax.faces.view.facelets.DelegatingMetaTagHandler.apply(DelegatingMetaTagHandler.java:114)
javax.faces.view.facelets.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:91)
com.sun.faces.facelets.tag.ui.DefineHandler.applyDefinition(DefineHandler.java:97)
com.sun.faces.facelets.tag.ui.CompositionHandler.apply(CompositionHandler.java:172)
com.sun.faces.facelets.impl.DefaultFaceletContext$TemplateManager.apply(DefaultFaceletContext.java:386)
com.sun.faces.facelets.impl.DefaultFaceletContext.includeDefinition(DefaultFaceletContext.java:357)
com.sun.faces.facelets.tag.ui.InsertHandler.apply(InsertHandler.java:102)
javax.faces.view.facelets.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:91)
com.sun.faces.facelets.compiler.NamespaceHandler.apply(NamespaceHandler.java:86)
javax.faces.view.facelets.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:91)
com.sun.faces.facelets.compiler.EncodingHandler.apply(EncodingHandler.java:75)
com.sun.faces.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:301)
com.sun.faces.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:360)
com.sun.faces.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:339)
com.sun.faces.facelets.impl.DefaultFaceletContext.includeFacelet(DefaultFaceletContext.java:191)
com.sun.faces.facelets.tag.ui.CompositionHandler.apply(CompositionHandler.java:149)
com.sun.faces.facelets.compiler.NamespaceHandler.apply(NamespaceHandler.java:86)
com.sun.faces.facelets.compiler.EncodingHandler.apply(EncodingHandler.java:75)
com.sun.faces.facelets.impl.DefaultFacelet.apply(DefaultFacelet.java:145)
com.sun.faces.application.view.FaceletViewHandlingStrategy.buildView(FaceletViewHandlingStrategy.java:715)
com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:106)
com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)
com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139)
javax.faces.webapp.FacesServlet.service(FacesServlet.java:311)
org.jboss.weld.servlet.ConversationPropagationFilter.doFilter(ConversationPropagationFilter.java:68)
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
- is blocked by
-
JBEE-20 Create EL API 2.2
- Closed