velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Herbert Poul" <kahl...@yourhell.com>
Subject Theming with velocity
Date Thu, 15 May 2003 16:24:34 GMT
Hi,
I would like to let users choose different themes. i think it is easy to
make something like#parse( "/themes/$user.theme/foo.vm" )
but i want that themes doesn't need to implement all .vm files, so when
/themes/$user.theme/foo.vm isn't found it should look for the file in e.g.
/themes/default/foo.vmIs this somehow possible with velocity ?

I guess i need to extend the Parse class.. but how do i add it to the
directives (without editing directive.properties in the
velocity-dep-1.3.1.jar would be good) ?
cu
  Herbert Poul




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