Mantis - Resin
|
|||||
Viewing Issue Advanced Details | |||||
|
|||||
ID: | Category: | Severity: | Reproducibility: | Date Submitted: | Last Update: |
5034 | minor | always | 04-17-12 03:06 | 04-18-12 17:09 | |
|
|||||
Reporter: | mate | Platform: | |||
Assigned To: | alex | OS: | |||
Priority: | normal | OS Version: | |||
Status: | closed | Product Version: | 4.0.27 | ||
Product Build: | Resolution: | fixed | |||
Projection: | none | ||||
ETA: | none | Fixed in Version: | 4.0.28 | ||
|
|||||
Summary: | 0005034: com.caucho.el.ELParser does not support negating method parameters | ||||
Description: | com.caucho.el.ELParser throws com.caucho.el.ELParseException if boolean EL method parameter is negated with "!". | ||||
Steps To Reproduce: | |||||
Additional Information: |
Example: <c:set var="currentValue" value="#{negateParameterBean.value}" /> <h:commandLink action="#{negateParameterBean.set(! currentValue)}">Toggle</h:commandLink> causes com.caucho.el.ELParseException: Invalid method expression `negateParameterBean.set(! currentValue)' at com.caucho.el.ELParser.parseSimpleTerm(ELParser.java:633) at com.caucho.el.ELParser.parseTerm(ELParser.java:474) at com.caucho.el.ELParser.parseExpr(ELParser.java:231) at com.caucho.el.ELParser.parseTerm(ELParser.java:499) at com.caucho.el.ELParser.parseExpr(ELParser.java:231) at com.caucho.el.ELParser.parseInterpolate(ELParser.java:194) at com.caucho.el.ELParser.parse(ELParser.java:113) at com.caucho.el.ExpressionFactoryImpl.createMethodExpression(ExpressionFactoryImpl.java:75) at com.sun.faces.facelets.tag.TagAttributeImpl.getMethodExpression(TagAttributeImpl.java:222) ... |
||||
Relationships | |||||
Attached Files: |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|