You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@velocity.apache.org by "Bjoern Guenzel (JIRA)" <ji...@apache.org> on 2006/08/31 18:23:22 UTC

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

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


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


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

Posted by "Bjoern Guenzel (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/VELOCITY-455?page=comments#action_12432461 ] 
            
Bjoern Guenzel commented on VELOCITY-455:
-----------------------------------------

Yes, I tested it.

> 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
>
> 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


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

Posted by "Henning Schmiedehausen (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/VELOCITY-455?page=comments#action_12432549 ] 
            
Henning Schmiedehausen commented on VELOCITY-455:
-------------------------------------------------

You know, if you have some time, it would be great if you could take a look at 

http://people.apache.org/~henning/velocity/pdf/VelocityUsersGuide.pdf (Chapter 3.4)
or
http://people.apache.org/~henning/velocity/html/ch03s04.html

and proof-read it. I did test all examples in there and I'd really appreciate feedback. Thanks.

> 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


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

Posted by "Nathan Bubna (JIRA)" <de...@velocity.apache.org>.
     [ https://issues.apache.org/jira/browse/VELOCITY-455?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Nathan Bubna resolved VELOCITY-455.
-----------------------------------

    Resolution: Fixed

fixed in trunk for 1.6

> Error in chapter "Escaping VTL Directives" in the User Guide
> ------------------------------------------------------------
>
>                 Key: VELOCITY-455
>                 URL: https://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.6
>
>
> 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.
-
You can reply to this email to add a comment to the issue online.


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


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

Posted by "Will Glass-Husain (JIRA)" <ji...@apache.org>.
     [ 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


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

Posted by "Will Glass-Husain (JIRA)" <de...@velocity.apache.org>.
     [ https://issues.apache.org/jira/browse/VELOCITY-455?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

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

    Fix Version/s:     (was: 1.5)
                   1.6

reassigning this to 1.6 so we can track this.  but I think it won't matter if we get the updated guide out with its new examples.

> Error in chapter "Escaping VTL Directives" in the User Guide
> ------------------------------------------------------------
>
>                 Key: VELOCITY-455
>                 URL: https://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.6
>
>
> 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.
-
You can reply to this email to add a comment to the issue online.


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


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

Posted by "Will Glass-Husain (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/VELOCITY-455?page=comments#action_12431977 ] 
            
Will Glass-Husain commented on VELOCITY-455:
--------------------------------------------

thanks for reporting this -- we'll investigate.  just to confirm, did you actually test that bit of VTL?

WILL

> 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
>
> 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