I have set the flag but it still doesnt work. Can you confirmed this on your
side?

/Murat

2008/9/19 Michael Sparer <[EMAIL PROTECTED]>

>
> setEscapeModelStrings to false on your component (e.g. Label) and it should
> work
>
>
> Murat Yücel-2 wrote:
> >
> > Hi All
> >
> > First of all i am using wicket 1.3.4. I have a problem with not being
> able
> > to show html characters when using
> > StringResourceModel together with xml property file. Xml property file
> > doesnt support html tags because it
> > not valid in an xml file. I have tried to escape the "<" tag but then i
> > will
> > just see the text as it is. For example
> > if the text is <entry key="test.key">&lt;b&gt;Test&lt;/b&gt;</entry> then
> > is
> > will just show Test on the screen.
> >
> > I then thought that it might be possible to give html characters as
> > parameters. For example:
> > <entry key="test.key">You have selected {0}</entry>
> >
> > Then i will give the parameter "Test" to the StringResourceModel, but
> > still no luck.
> >
> > I have set the method Label.setEscapeModelStrings(false) but it seems
> like
> > it doesnt have any effect.
> >
> > Hope that you can help.
> >
> > Kind regards
> >
> > /Murat
> >
> >
>
>
> -----
> Michael Sparer
> http://talk-on-tech.blogspot.com
> --
> View this message in context:
> http://www.nabble.com/Does-StringResouceModel-support-html-tags-tp19567229p19567583.html
> Sent from the Wicket - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Reply via email to