[prev in list] [next in list] [prev in thread] [next in thread]
List: velocity-dev
Subject: [jira] Resolved: (VELOCITY-362) can't load macros in file loaded
From: "Will Glass-Husain (JIRA)" <dev () velocity ! apache ! org>
Date: 2007-09-18 4:46:43
Message-ID: 31194024.1190090803692.JavaMail.jira () brutus
[Download RAW message or body]
[ https://issues.apache.org/jira/browse/VELOCITY-362?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel \
]
Will Glass-Husain resolved VELOCITY-362.
----------------------------------------
Resolution: Fixed
added final small patch, with test case. fixed docs (docbook version of user guide).
> can't load macros in file loaded with #parse
> --------------------------------------------
>
> Key: VELOCITY-362
> URL: https://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
> Fix For: 1.6
>
> Attachments: patch.zip, small.patch
>
>
> 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.
-
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
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic