Also, you should do this instead:

add(new Label("somelable", new StringResourceModel("your-string-key")))


On Sun, Oct 3, 2010 at 9:48 PM, Mauro Ciancio <maurocian...@gmail.com>wrote:

> Hello,
> This could help you,
> org.apache.wicket.Component#setEscapeModelStrings
>
> That would disable the escape of strings.
>
> Regards.
>
> On Sun, Oct 3, 2010 at 11:21 PM,  <gurpreet.si...@wellsfargo.com> wrote:
> > Hi All,
> >
> >
> > I have some property define in property file like below
> >
> > Myproperty.name = This is <b>bold</b>
> >
> > And on some Ajax request I am adding  this property to some label like
> this
> >
> > add(new Label("somelable", getLocalizer().getString("Myproperty.name."))
> >
> >
> > My problem is , html  tags are rendered as text and  I am not getting
> bold effect or any Html formatting.
> >
> >
> > Hope someone know how to fix this.
> >
> > Thanks
> >
> >
> >
> >
>
>
>
> --
> Mauro Ciancio
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>


-- 
Jeremy Thomerson
http://www.wickettraining.com

Reply via email to