Mantis Bugtracker
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0005034 [Resin] minor always 04-17-12 03:06 04-18-12 17:09
Reporter mate View Status public  
Assigned To alex
Priority normal Resolution fixed  
Status closed   Product Version 4.0.27
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 "!".
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)
...
Attached Files

- Relationships

- Notes
(0005742)
mate
04-17-12 06:19

"not" seems to be working however
 
(0005744)
alex
04-18-12 17:09

jsp/3284
 

- Issue History
Date Modified Username Field Change
04-17-12 03:06 mate New Issue
04-17-12 03:06 mate Issue Monitored: mate
04-17-12 06:19 mate Note Added: 0005742
04-18-12 17:09 alex Status new => assigned
04-18-12 17:09 alex Assigned To  => alex
04-18-12 17:09 alex Status assigned => closed
04-18-12 17:09 alex Note Added: 0005744
04-18-12 17:09 alex Resolution open => fixed
04-18-12 17:09 alex Fixed in Version  => 4.0.28


Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
32 total queries executed.
27 unique queries executed.
Powered by Mantis Bugtracker