[ 
https://issues.apache.org/jira/browse/VELOCITY-62?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Nathan Bubna resolved VELOCITY-62.
----------------------------------

    Resolution: Fixed

Last night, before rev 691519, my test case for this was failing.  This 
morning, it works.  I can only assume that rev 691519 fixed it somehow, though 
i'm not sure how.  Anyway, i can't figure a way to break/replicate this, so i'm 
calling it fixed.

> Macro scope nesting
> -------------------
>
>                 Key: VELOCITY-62
>                 URL: https://issues.apache.org/jira/browse/VELOCITY-62
>             Project: Velocity
>          Issue Type: Improvement
>          Components: Engine
>    Affects Versions: 1.2
>         Environment: Operating System: other
> Platform: All
>            Reporter: Steven Hugg
>            Priority: Minor
>             Fix For: 1.6
>
>         Attachments: Velocity62TestCase.java
>
>
> A problem with recursing macros is that scopes are not nested 
> when "velocimacro.context.localscope" is set to true.  That is, a get() on a 
> context does not percolate to a parent context if the get() returns null.  
> This 
> prevents accessing global variables in the context.  The desired behavior 
> (IMHO) would be for set()s to be local to the macro, and get()s to percolate 
> up 
> to the parent if not found.

-- 
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to