label.setescapemodelstrings(false)
On 3/27/07, Ralf Eichinger <[EMAIL PROTECTED]> wrote:
> I'm developing a cms.
> I want to output a html-string inside a wicket-page.
> when I do like this:
>
> Label lblArticleContent = new Label("lblArticleContent",
> article.getHtmlContent());
> add(lblArticleContent);
>
> I get my html encoded like this:
> <h1>Willkommen auf der Startseite!</h1><p>Hier kommt Ihr
> Text...</p>
>
> Do I have to set something to not encode my html output?
> Do I have to use another component than Label?
>
> greetings
> ralf
>
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys-and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> Wicket-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>
--
Learn Wicket at ApacheCon Europe: http://apachecon.com
Join the wicket community at irc.freenode.net: ##wicket
Wicket 1.2.5 will keep your server alive. Download Wicket now!
http://wicketframework.org
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user