commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j...@codehaus.org
Subject [jira] Closed: (JELLY-2) <j:if/> and <j:when/> don't evaluate false with ${!foo.bar}
Date Mon, 23 Jun 2003 02:47:00 GMT
Message:

   The following issue has been closed.

   Resolver: peter royal
       Date: Sun, 22 Jun 2003 9:46 PM

believed to be fixed in jexl
---------------------------------------------------------------------
View the issue:

  http://jira.codehaus.org/secure/ViewIssue.jspa?key=JELLY-2


Here is an overview of the issue:
---------------------------------------------------------------------
        Key: JELLY-2
    Summary: <j:if/> and <j:when/> don't evaluate false with ${!foo.bar}
       Type: Bug

     Status: Closed
   Priority: Minor
 Resolution: FIXED

 Time Spent: Unknown
   Estimate: Unknown

    Project: jelly

   Assignee: peter royal
   Reporter: St├ęphane MOR

    Created: Fri, 2 Aug 2002 7:32 AM
    Updated: Sun, 22 Jun 2003 9:46 PM
Environment: First seen while using Maven

Description:
When we try and evaluate a boolean using the "!" form, it fails.
If we output ${!foo} it says "false", but isn't evaluated as such.
This was encountered in Maven, when trying to use ${!maven.mode.online}:
if maven.mode.online = true, and we want to do something like:
<j:if test="${!maven.mode.online}"> <echo>foo</echo> </j:if>,
it will output "[echo] foo" in any case (true or false).




---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message