velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shinobu Kawai <>
Subject Re: best practice question
Date Thu, 03 Mar 2005 06:42:40 GMT
Hi Matthew,

> I use a Constants class in my application to hold a bunch of strings
> used for things like request attribute keys etc. In my templates, I
> would also like to eliminate the hard-coded strings, and I thought I
> could do that by using the Constants class as a tool.

For the time being, you can try out the FieldMethodizer.

Or the PublicFieldUberspect.

Best regards,
-- Shinobu

Shinobu Kawai <>

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

View raw message