You could also expose functionality via your model class. Adding global context 
attributes can be a bit too much 'magic' sometimes and a call to 
model.someMethod() is always easy to track, which is especially important when 
you're working with multiple developers. You can always delegate the method 
call to some utility class used by multiple model classes.

(And if your only use case is creating an uppercase string, then you could also 
just use the Freemarker built-in for that: ${"string to convert to upper 
case"?upper_case}. :) )

Context is everything:

For list details, see
Alternatively, use our forums:
To unsubscribe, E-mail to: <>

Reply via email to