You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@velocity.apache.org by Ed Yu <ek...@asgnet.psc.sc.edu> on 2002/07/16 17:15:16 UTC

HTML sequence filtering (Again!)

Hi all,

Trying not to beat a dead horse here but this issue needs to be resolved
since it is a show stopper for replacing JSPs in my opinion.
After all the suggestions and discussion yesterday, here is my solution
and please let me know if it is a good idea or not.

1) I've created a ViewTool (called htmlFilter) which implements the
ViewTool interface.
2) I've also register the HTMLFilter class with an event cartridge
within the init() method.
3) Created a method in the class 'referenceInsert()' to handle the
filtering (ignoring the LinkTool class).

In this way, I can enable/disable html filtering by changing the
toolbox.xml. What do you all think?

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Ed Yu, IBM Certified Specialist - AIX System Administrator
Information Technology Manager,
University of South Carolina,
Advanced Solutions Group, Physics Dept.,
Columbia, SC 29208
Office (803)777-8831, FAX (803)777-8833, Email ekyu@asgnet.psc.sc.edu


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>