velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Herbert Poul" <>
Subject Theming with velocity
Date Thu, 15 May 2003 16:24:34 GMT
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 in the
velocity-dep-1.3.1.jar would be good) ?
  Herbert Poul

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message