You can find the full source code for this website in the Seam package in the directory /examples/wiki. It is licensed under the LGPL.
| Online: | 2 Members of 12451 |
| Forum: Weld Users |
27. Sep 2009, 21:52 America/New_York | Link |
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
I believe dropping JBoss EL into the app should work. Let us know!
Read about how to report a bug.
Hi,
I have tried that. I am deploying an ear file with jboss-el in the war's lib.
Thanks Pieter
And?
Read about how to report a bug.
And it did not work. However I am thinking perhaps the jboss-el jar should be in the ear rather than in the war. I tried building trunk now but it is not compiling right now. I shall try later again and post back the result with the jboss-el jar in the ear.