You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@velocity.apache.org by "Will Glass-Husain (JIRA)" <ji...@apache.org> on 2006/09/04 13:29:23 UTC

[jira] Updated: (VELOCITY-455) Error in chapter "Escaping VTL Directives" in the User Guide

     [ http://issues.apache.org/jira/browse/VELOCITY-455?page=all ]

Will Glass-Husain updated VELOCITY-455:
---------------------------------------

    Fix Version/s: 1.5

> Error in chapter "Escaping VTL Directives" in the User Guide
> ------------------------------------------------------------
>
>                 Key: VELOCITY-455
>                 URL: http://issues.apache.org/jira/browse/VELOCITY-455
>             Project: Velocity
>          Issue Type: Bug
>          Components: Documentation
>    Affects Versions: 1.4
>            Reporter: Bjoern Guenzel
>            Priority: Minor
>             Fix For: 1.5
>
>
> the manual says
> Consider the following case:
> \#if( $jazz ) 
> Vyacheslav Ganelin 
> \#end
> Whether $jazz is true or false, the output will be
> #if($ jazz ) 
> Vyacheslav Ganelin 
> #end
> However, since the \#if is escaped, $jazz will be evaluated, to the output will be
> #if(true)
> Vyacheslav Ganelin 
> #end
> or 
> #if(false)
> Vyacheslav Ganelin 
> #end
> respectively (depending on the value of $jazz)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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