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

Will Glass-Husain resolved VELOCITY-457.
----------------------------------------

    Resolution: Invalid

it has to do with caching.  The macro is never loaded the first time, but if 
the page is cached will be available the second time the page is rendered.

> documentation mistake? order of Velocimacros in template
> --------------------------------------------------------
>
>                 Key: VELOCITY-457
>                 URL: http://issues.apache.org/jira/browse/VELOCITY-457
>             Project: Velocity
>          Issue Type: Bug
>          Components: Documentation
>    Affects Versions: 1.4
>            Reporter: Will Glass-Husain
>            Priority: Minor
>             Fix For: 1.5
>
>
> from mailing list.
> (need to confirm)
> ---------- Forwarded message ----------
> From: sun davy <[EMAIL PROTECTED]>
> Date: Sep 11, 2006 3:51 AM
> Subject: i encounter some mistakes in User Guide.
> To: velocity-user@jakarta.apache.org
> hi Velocity team:
>   I am an user of Velocity from China. Thanks for your perfect production.
> Through your creative and hard work, we have such Convenience and Powerful
> tools in our toolbox.
> ...
> 3) Velocimacro Trivia
>    Currently, Velocimacros must be defined before they are first used in a
> template. This means that your #macro() declarations should come before
> using the Velocimacros.
>    i defined VM after they are first used in a template, it also work. i
> don't know why.

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