velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shinobu Kawai <shinobu.ka...@gmail.com>
Subject Re: Set image path
Date Mon, 06 Dec 2004 22:23:09 GMT
Hi Shawn,

> I'm tiring to make a macro to set the image path in the VM_gobal_libary.vm.
> 
> Something like this:
> #macro (path)
> # set ($path = '/images')
> # end
> 
> Is there a better way to set up my path for my images ?

I think it depends on how you want to use it.  There's a great tool
for dealing with URI's:
  http://jakarta.apache.org/velocity/tools/view/LinkTool.html

Hope that helps.

Best regards,
-- Shinobu Kawai

--
Shinobu Kawai <shinobu.kawai@gmail.com>

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