Details
Description
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.
Attachments
Attachments
Issue Links
- is duplicated by
-
VELOCITY-277 macros in #parsed files are not refreshed when including page is refreshed
- Resolved
-
VELOCITY-448 Can't define macro in separate file and use it in another file.
- Closed