Deprecation in data model

Ista Pouss <[email protected]>
Newsgroups gmane.comp.web.freemarker.user
Message-ID <[email protected]>
Hey,

I have a term in the data model, for instance "term", and I use in
model ${term}, all is good.

But now I should want use "word" because I don't like "term" anymore.
And when I use term in a model, I should want freemarker say to me, in
a log, "Hey you don't like 'term', it's deprecated, use 'word' at line
xyz of template foo.ftl". And, of course, freemarker use "term" as
usual.

Is it possible to do that, and how ?

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.