On Tue, 07 Dec 2010 08:46:13 -0200, Kai Weber <kai.we...@glorybox.de> wrote:

Hi,

Hi!

the user provided input from a TextField/TextArea component should be
cleaned from HTML tags. No validation is needed, the requirements are
just "remove the HTML", display the result to the user.
The first variant I tried is a Translator. This solution works but
because there are other possible solutions as well I would hear your
suggestions.

Translator is the way to go. ;)

--
Thiago H. de Paula Figueiredo
Independent Java, Apache Tapestry 5 and Hibernate consultant, developer, and instructor
Owner, Ars Machina Tecnologia da Informação Ltda.
http://www.arsmachina.com.br

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to