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 17:13:06 UTC

HTML code inside language file

Hi

I'm trying to use some HTML codes with internationalized page. For example,
some texts have words in italic and I need to use the <i> tag. But when
wicket renders the text the <i> tag is showed on screen instead make the
word italic. Any suggestion?

Thank you
Marco

Re: HTML code inside language file

Posted by Johan Compagner <jc...@gmail.com>.
Does wicket:message tag escape the html?
Make a jira issue for this

On 12/12/07, Marco Aurélio Silva <ma...@gmail.com> wrote:
> And is there a way to this without a label, houst with the <wicket:message>?
>
> On Dec 12, 2007 1:23 PM, Sébastien Piller <pi...@hmcrecord.ch> wrote:
>
> > Marco Aurélio Silva a écrit :
> > > Hi
> > >
> > > I'm trying to use some HTML codes with internationalized page. For
> > example,
> > > some texts have words in italic and I need to use the <i> tag. But when
> > > wicket renders the text the <i> tag is showed on screen instead make the
> > > word italic. Any suggestion?
> > >
> > > Thank you
> > > Marco
> > >
> > >
> > Hi,
> >
> > just call "setEscapeModelStrings(false)" on your label ;)
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> > For additional commands, e-mail: users-help@wicket.apache.org
> >
> >
>

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


Re: HTML code inside language file

Posted by Marco Aurélio Silva <ma...@gmail.com>.
And is there a way to this without a label, houst with the <wicket:message>?

On Dec 12, 2007 1:23 PM, Sébastien Piller <pi...@hmcrecord.ch> wrote:

> Marco Aurélio Silva a écrit :
> > Hi
> >
> > I'm trying to use some HTML codes with internationalized page. For
> example,
> > some texts have words in italic and I need to use the <i> tag. But when
> > wicket renders the text the <i> tag is showed on screen instead make the
> > word italic. Any suggestion?
> >
> > Thank you
> > Marco
> >
> >
> Hi,
>
> just call "setEscapeModelStrings(false)" on your label ;)
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>

Re: HTML code inside language file

Posted by Sébastien Piller <pi...@hmcrecord.ch>.
Marco Aurélio Silva a écrit :
> Hi
>
> I'm trying to use some HTML codes with internationalized page. For example,
> some texts have words in italic and I need to use the <i> tag. But when
> wicket renders the text the <i> tag is showed on screen instead make the
> word italic. Any suggestion?
>
> Thank you
> Marco
>
>   
Hi,

just call "setEscapeModelStrings(false)" on your label ;)

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


Re: HTML code inside language file

Posted by Nick Heudecker <nh...@gmail.com>.
setEscapeModelStrings(false)

I think that's it.

On Dec 12, 2007 8:13 AM, Marco Aurélio Silva <ma...@gmail.com> wrote:

> Hi
>
> I'm trying to use some HTML codes with internationalized page. For
> example,
> some texts have words in italic and I need to use the <i> tag. But when
> wicket renders the text the <i> tag is showed on screen instead make the
> word italic. Any suggestion?
>
> Thank you
> Marco
>



-- 
Nick Heudecker
Professional Wicket Training & Consulting
http://www.systemmobile.com

Eventful - Intelligent Event Management
http://www.eventfulhq.com