Sounds like something that the ReferenceInsertionEventHandler might be
able to do:

http://velocity.apache.org/engine/devel/developer-guide.html#Configuring_Event_Handlers
http://velocity.apache.org/engine/devel/apidocs/org/apache/velocity/app/event/ReferenceInsertionEventHandler.html

On Thu, Nov 6, 2008 at 6:28 AM, James Carr <[EMAIL PROTECTED]> wrote:
> Hi All,
>
>
>
> Is there some kind of way in the velocity API to implement filters that
> can operate on objects on the context? Specifically, say object person
> is on the context, if person.name is called, and the getName() method
> has an annotation on it, I want to be able to transform the value
> displayed on the rendered output.
>
>
>
> Is this possible?
>
>
>
> Thanks,
>
> James
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to