You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by ji...@codehaus.org on 2003/06/23 04:47:00 UTC

[jira] Closed: (JELLY-2) and don't evaluate false with ${!foo.bar}

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