You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@velocity.apache.org by "Will Glass-Husain (JIRA)" <ji...@apache.org> on 2006/09/13 01:04:23 UTC

[jira] Created: (VELOCITY-457) documentation mistake? order of Velocimacros in template

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 <aw...@hotmail.com>
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: velocity-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: velocity-dev-help@jakarta.apache.org


[jira] Closed: (VELOCITY-457) documentation mistake? order of Velocimacros in template

Posted by "Henning Schmiedehausen (JIRA)" <de...@velocity.apache.org>.
     [ https://issues.apache.org/jira/browse/VELOCITY-457?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Henning Schmiedehausen closed VELOCITY-457.
-------------------------------------------


> documentation mistake? order of Velocimacros in template
> --------------------------------------------------------
>
>                 Key: VELOCITY-457
>                 URL: https://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 <aw...@hotmail.com>
> 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.
-
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


[jira] Resolved: (VELOCITY-457) documentation mistake? order of Velocimacros in template

Posted by "Will Glass-Husain (JIRA)" <ji...@apache.org>.
     [ 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 <aw...@hotmail.com>
> 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: velocity-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: velocity-dev-help@jakarta.apache.org