Sorry if im totally wrong on this but, you guys talking about xml and
stuff... Arent wicket doing just that automatically... I mean in denmark
our Ø Å Æ are converted into html equallents, when passing thru
labels...? It's done thru the
org.apache.wicket.util.string.Strings.escapeMarkup , if using it
manually just remember to use the method taking the use convert to html
unicode param..
regards Nino
Manuel Barzi wrote:
I think it may be e nice proposal to Wicket to allow somekind of set-able
Character2HTMLEntity converter on rendering in the application side, some
like:
customWicketApp.setCharacter2HTMLEntityConversionForLiteralResourceOnRender(true);
What do you think?
I am working on Wicket 1.2.6, so I cannot take advantage of your xml based
support if it starts from 1.3.
Cheers
Martijn Dashorst wrote:
I think Wicket supports xml based resource bundles since 1.3? So you
can use properly encoded resource bundles directly if you create them
in xml format.
but this is based on limited memory.
Martijn
On 10/3/07, ManuelBarzi <[EMAIL PROTECTED]> wrote:
Dear Sirs,
I have a lot of literal files (properties) with some special characters
(spanish accents) that I would desire to convert to HTML entities during
rendering. Is this conversion set-able in Wicket, so to automatically let
the framework transform special characters to its HTML entity
representation?
Thank you ;)
Manu
--
View this message in context:
http://www.nabble.com/Automatic-character2HTMLEntity-conversion--tf4561020.html#a13016399
Sent from the Wicket - Dev mailing list archive at Nabble.com.
--
Buy Wicket in Action: http://manning.com/dashorst
Apache Wicket 1.3.0-beta3 is released
Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3.0-beta3/