4 Replies Latest reply on Oct 7, 2009 6:15 PM by Pieter Martin

    Webbeans and EL

    Pieter Martin Novice

      Hi,


      I am using WebBeans 1.0.0.PREVIEW1 and JSF2.


      The following el expression fails


      rendered="#{organization.isGroupOwnershipValid(nakedUser)}"



      javax.el.ELException: Error Parsing: #{organization.isGroupOwnershipValid(nakedUser)}
           org.apache.el.lang.ExpressionBuilder.createNodeInternal(ExpressionBuilder.java:125)
           org.apache.el.lang.ExpressionBuilder.build(ExpressionBuilder.java:150)
           org.apache.el.lang.ExpressionBuilder.createValueExpression(ExpressionBuilder.java:194)
           org.apache.el.ExpressionFactoryImpl.createValueExpression(ExpressionFactoryImpl.java:68)
           com.sun.faces.facelets.tag.TagAttributeImpl.getValueExpression(TagAttributeImpl.java:398)
           com.sun.faces.facelets.tag.jsf.ComponentRule$ValueExpressionMetadata.applyMetadata(ComponentRule.java:100)
           com.sun.faces.facelets.tag.MetadataImpl.applyMetadata(MetadataImpl.java:74)
      
      ...
      
      org.apache.el.parser.ParseException: Encountered " "(" "( "" at line 1, column 37.
      Was expecting one of:
          "}" ...
          "." ...
          "[" ...
      



      It seems JSF2's el library does not support method parameters.
      Is there some way that I can use jboss-el instead as we make extensive use of more advance el expressions?


      Thanks
      Pieter