You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@velocity.apache.org by Jeff Linwood <je...@greenninja.com> on 2002/10/08 23:40:44 UTC

Re: Macros aren't being recognized...

Hi,

Check out the velocimacro.library setting in your velocity.properties file.
Add your file that contains macros to this comma delimited list.

Hope this helps,
Jeff
----- Original Message -----
From: "Rodrigo Reyes" <ro...@instaservi.com>
To: <ve...@jakarta.apache.org>
Sent: Tuesday, October 08, 2002 6:11 PM
Subject: Macros aren't being recognized...


> Hi
>     We have been using velocity to have some XML's rendered into HTML. We
> created a file named "macros.txt" where we placed some macros we needed in
> different places. We insert this file using "#parse("macros.txt")". Now,
the
> first time a page gets rendered, it doesn't recognize the macros defined
> inside "macros.txt". Has anyone had a problem like this?
>
> Rodrigo
>
>
>
> --
> To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
> For additional commands, e-mail:
<ma...@jakarta.apache.org>
>
>


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: Macros aren't being recognized...

Posted by Rodrigo Reyes <ro...@instaservi.com>.
Thanx Jeff.... it worked.

Rodrigo

----- Original Message -----
From: "Jeff Linwood" <je...@greenninja.com>
To: "Velocity Users List" <ve...@jakarta.apache.org>
Sent: Tuesday, October 08, 2002 2:40 PM
Subject: Re: Macros aren't being recognized...


> Hi,
>
> Check out the velocimacro.library setting in your velocity.properties
file.
> Add your file that contains macros to this comma delimited list.
>
> Hope this helps,
> Jeff
> ----- Original Message -----
> From: "Rodrigo Reyes" <ro...@instaservi.com>
> To: <ve...@jakarta.apache.org>
> Sent: Tuesday, October 08, 2002 6:11 PM
> Subject: Macros aren't being recognized...
>
>
> > Hi
> >     We have been using velocity to have some XML's rendered into HTML.
We
> > created a file named "macros.txt" where we placed some macros we needed
in
> > different places. We insert this file using "#parse("macros.txt")". Now,
> the
> > first time a page gets rendered, it doesn't recognize the macros defined
> > inside "macros.txt". Has anyone had a problem like this?
> >
> > Rodrigo
> >
> >
> >
> > --
> > To unsubscribe, e-mail:
> <ma...@jakarta.apache.org>
> > For additional commands, e-mail:
> <ma...@jakarta.apache.org>
> >
> >
>
>
> --
> To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
> For additional commands, e-mail:
<ma...@jakarta.apache.org>
>



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>