You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by Josh Kamau <jo...@gmail.com> on 2010/04/06 10:41:22 UTC
Displaying HTML
Hi guys;
I am using TinyMCE to created styled text and save it in the database. I
want to display the same on for example a label, is there any component that
displays the text as HTML , i mean i dont want to see the tags, i want to
see some formatted text.
Kind regards.
Josh
Re: Displaying HTML
Posted by Josh Kamau <jo...@gmail.com>.
Thanks. It worked.
Regards.
On Tue, Apr 6, 2010 at 11:43 AM, Wilhelmsen Tor Iver <To...@arrive.no>wrote:
>
> > I
> > want to display the same on for example a label, is there any component
> > that
> > displays the text as HTML , i mean i dont want to see the tags, i want
> > to
> > see some formatted text.
>
> Use a Label, but call setEscapeModelStrings(false) on it.
>
> --
> - Tor Iver
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>
SV: Displaying HTML
Posted by Wilhelmsen Tor Iver <To...@arrive.no>.
> I
> want to display the same on for example a label, is there any component
> that
> displays the text as HTML , i mean i dont want to see the tags, i want
> to
> see some formatted text.
Use a Label, but call setEscapeModelStrings(false) on it.
--
- Tor Iver
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org