You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by Marco Aurélio Silva <ma...@gmail.com> on 2007/12/12 18:51:02 UTC

wicket:message and HTML

Hi
Is there a way to use html code from a language file using, like
setEscapeModelStrings(false) on a label?

Thank you
Marco

Re: wicket:message and HTML

Posted by Gabor Szokoli <sz...@gmail.com>.
On Dec 12, 2007 6:51 PM, Marco Aurélio Silva <ma...@gmail.com> wrote:
> Hi
> Is there a way to use html code from a language file using, like
> setEscapeModelStrings(false) on a label?

I read about the wicket:message implementation recently (to see if I
could do something similar for  headers and element attributes like
title)
You could change WicketMessageResolver, it uses a label inside.
I'd use a new attribute (defaulting to the old behavior when missing)
if I were you:
<wicket:message key="propertyName" verbatim="true">


Gabor Szokoli

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org