Re: Configure Wicket to detect some special HTML characters?

2010-07-06 Thread David Chang
In Spring framework, there is a concept called HTML escape. Does Wicket have sometihng similar? Thanks. --- On Tue, 7/6/10, Jeremy Thomerson jer...@wickettraining.com wrote: From: Jeremy Thomerson jer...@wickettraining.com Subject: Re: Configure Wicket to detect some special HTML characters

Re: Configure Wicket to detect some special HTML characters?

2010-07-06 Thread Martin Makundi
...@wickettraining.com wrote: From: Jeremy Thomerson jer...@wickettraining.com Subject: Re: Configure Wicket to detect some special HTML characters? To: users@wicket.apache.org Date: Tuesday, July 6, 2010, 1:23 AM Create a custom converter. Jeremy Thomerson -- sent from my smartphone - please excuse

Re: Configure Wicket to detect some special HTML characters?

2010-07-06 Thread Pedro Santos
want to save these characters into the database. --- On Tue, 7/6/10, Martin Makundi martin.maku...@koodaripalvelut.com wrote: From: Martin Makundi martin.maku...@koodaripalvelut.com Subject: Re: Configure Wicket to detect some special HTML characters? To: users@wicket.apache.org

Re: Configure Wicket to detect some special HTML characters?

2010-07-06 Thread David Chang
should be escaped upon display not upon storage. ** Martin --- On Tue, 7/6/10, Jeremy Thomerson jer...@wickettraining.com wrote: From: Jeremy Thomerson jer...@wickettraining.com Subject: Re: Configure Wicket to detect some special HTML characters? To: users@wicket.apache.org

Re: Configure Wicket to detect some special HTML characters?

2010-07-06 Thread David Chang
Thomerson jer...@wickettraining.com Subject: Re: Configure Wicket to detect some special HTML characters? To: users@wicket.apache.org Date: Tuesday, July 6, 2010, 1:23 AM Create a custom converter. Jeremy Thomerson -- sent from my smartphone - please excuse formatting

Re: Configure Wicket to detect some special HTML characters?

2010-07-06 Thread Martijn Dashorst
: From: Pedro Santos pedros...@gmail.com Subject: Re: Configure Wicket to detect some special HTML characters? To: users@wicket.apache.org Date: Tuesday, July 6, 2010, 8:25 AM Hi David, there are a lot of methods that escape the characters, for instance you can use

Re: Configure Wicket to detect some special HTML characters?

2010-07-06 Thread Jeremy Thomerson
Wicket to detect some special HTML characters? To: us...@wicket.apache.or... Date: Tuesday, July 6, 2010, 8:25 AM Hi David, there are a lot of methods that escape the characters, for instance you can use or...

Re: Configure Wicket to detect some special HTML characters?

2010-07-06 Thread David Chang
configuration, which can be overriden on a particular page. Hope this is not too much asking. Regards. --- On Tue, 7/6/10, Jeremy Thomerson jer...@wickettraining.com wrote: From: Jeremy Thomerson jer...@wickettraining.com Subject: Re: Configure Wicket to detect some special HTML characters

Re: Configure Wicket to detect some special HTML characters?

2010-07-06 Thread Igor Vaynberg
. --- On Tue, 7/6/10, Jeremy Thomerson jer...@wickettraining.com wrote: From: Jeremy Thomerson jer...@wickettraining.com Subject: Re: Configure Wicket to detect some special HTML characters? To: users@wicket.apache.org Date: Tuesday, July 6, 2010, 9:41 AM A label automatically escapes markup

Re: Configure Wicket to detect some special HTML characters?

2010-07-06 Thread David Chang
igor, thanks for chiming in. rgards. --- On Tue, 7/6/10, Igor Vaynberg igor.vaynb...@gmail.com wrote: From: Igor Vaynberg igor.vaynb...@gmail.com Subject: Re: Configure Wicket to detect some special HTML characters? To: users@wicket.apache.org Date: Tuesday, July 6, 2010, 10:18 PM

Re: Configure Wicket to detect some special HTML characters?

2010-07-05 Thread Martin Makundi
Why would you want to do that? ** Martin 2010/7/6 David Chang david_q_zh...@yahoo.com: If someone enters scriptalert(1)/script in a wicket form's text field, can Wicket be configured to detect special characters such as angle brackets and translate them into HTML entities before sending

Re: Configure Wicket to detect some special HTML characters?

2010-07-05 Thread David Chang
I dont want to save these characters into the database. --- On Tue, 7/6/10, Martin Makundi martin.maku...@koodaripalvelut.com wrote: From: Martin Makundi martin.maku...@koodaripalvelut.com Subject: Re: Configure Wicket to detect some special HTML characters? To: users@wicket.apache.org

Re: Configure Wicket to detect some special HTML characters?

2010-07-05 Thread Jeremy Thomerson
...@koodaripalvelut.com wrote: From: Martin Makundi martin.maku...@koodaripalvelut.com Subject: Re: Configure Wicket to detect some special HTML characters? To: users@wicket.apache.org Date: Tuesday, July 6, 2010, 1:09 AM Why would you want to do that? ** Martin 2010/7/6 David Chang

Re: Configure Wicket to detect some special HTML characters?

2010-07-05 Thread Martin Makundi
: Configure Wicket to detect some special HTML characters? To: users@wicket.apache.org Date: Tuesday, July 6, 2010, 1:09 AM Why would you want to do that? ** Martin 2010/7/6 David Chang david_q_zh...@yahoo.com: If someone enters scriptalert(1)/script in a wicket form's text field