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

Henning Schmiedehausen resolved VELOCITY-362.
---------------------------------------------

    Fix Version/s:     (was: 1.6)
       Resolution: Won't Fix

As we already have discussed that issue in length; as it is on our Macro 
wishlist, there is no need to keep the report open. The reported bug is the 
documented behaviour; yes it is not really nice but sometimes there is no pony. 
Sorry 'bout that. 

> can't load macros in file loaded with #parse
> --------------------------------------------
>
>                 Key: VELOCITY-362
>                 URL: http://issues.apache.org/jira/browse/VELOCITY-362
>             Project: Velocity
>          Issue Type: Improvement
>          Components: Engine
>    Affects Versions: 1.4
>         Environment: Operating System: All
> Platform: All
>            Reporter: whxbb
>            Priority: Minor
>
> I think this is a big bug. I've used velocity in my projects, erveything is ok
> but this. i want to know it's this problem will be resolved in next version? 
> if
> it's not, i have to abandon velocity.
> the bug is :
> from doc:
>  This is important to remember if you try to #parse() a template containing
> inline #macro() directives. Because the #parse() happens at runtime, and the
> parser decides if a VM-looking element in the template is a VM at parsetime,
> #parse()-ing a set of VM declarations won't work as expected. To get around
> this, simply use the velocimacro.library  facility to have Velocity load your
> VMs at startup.

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

Reply via email to