velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Dekany" <ddek...@freemail.hu>
Subject Str. lit. interpolation and ReferenceInsertionEventHandler
Date Wed, 20 Mar 2002 17:16:05 GMT
I use ReferenceInsertionEventHandler to automate the XML-encoding of
inserted values when they are writen to the output stream. The problem is
that I can't find out if the ReferenceInsertionEventHandler was called
beacuse of a reference insertion in a string literal interpolation (eg:
#if($foo == "xyz$bar")) or because of "final" reference insertion (eg.:
Schomoo $foo schomoo). The XML-encoding should hapen in the later case only
of course. Any ideas?


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


Mime
View raw message