velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Geir Magnusson Jr. <ge...@optonline.net>
Subject Re: Registering event handlers via velocity.properties ?
Date Wed, 29 Oct 2003 17:15:50 GMT

On Wednesday, October 29, 2003, at 12:06 PM, Peter Lammich wrote:

> I need to write a custom ReferenceInsertionEventHandler.
> My problem is: I do not have the source code of the Servlet, so I do 
> not know how to get my EventHandler attached.
> Can I modify one of the config files (web.xml, velocity.properties, or 
> similiar) to register my EventHandler as the
> default event-handler for the ReferenceInsertionEvent ?

Funny you should ask.

We are just talking about that - if we should add to the config the 
ability to setup a handler.  Can you actually config Velocity w/ that 
servlet?

>
> Or (less preferrable) can I attach the event-handler to the current 
> context via statements in the template that is just rendered ?

Ew :)

>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: velocity-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: velocity-user-help@jakarta.apache.org
>
>
-- 
Geir Magnusson Jr                                   203-247-1713(m)
geirm@optonline.net


---------------------------------------------------------------------
To unsubscribe, e-mail: velocity-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: velocity-user-help@jakarta.apache.org


Mime
View raw message