velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yoshia Makino <mak...@valuecommerce.ne.jp>
Subject RE: first time macro load
Date Wed, 09 Apr 2003 07:42:00 GMT
Set your 

velocimacro.library property to a comma-delimited listed of the macros you
need to load.

Think that's all you need to do.


-----Original Message-----
From: Tomasz Mielnik [mailto:tomasz.mielnik@tdcinternet.pl] 
Sent: Monday, April 07, 2003 4:44 PM
To: velocity-user@jakarta.apache.org
Subject: first time macro load


hello all.

i don't know if this is my problem or velocity bug but
when i load my webpage with templates for the first time i have lines
like:
#line("#000000) or 
#another_macro(param)
instead of the html tags they produce.
line and another_macro are my own macros.

i define them like that: i have 3 files:

1. Start.vm
	#parse("Prefs.vm")
2. Prefs.vm
	.
	.
	#parse("Macros.vm")
3.Macros.vm
	... my macros here...

so is it my or velocity's foult?
after reloading in web browser all works fine, so i'm sure macros are ok.


---t.m.-----------------------------
Tomasz Mielnik / TDC Internet Polska

---------------------------------------------------------------------
To unsubscribe, e-mail: velocity-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: velocity-user-help@jakarta.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: velocity-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: velocity-user-help@jakarta.apache.org


Mime
View raw message