Label archivesLabel = new Label("archives", "<b>In the future please
search the mailing list archives first.</b>").setEscapeModelStrings
(false);
On Mar 27, 2007, at 11:31 AM, Ralf Eichinger 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
-------------------------------------------------------------------------
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