labelsetEscapeModelStrings(false);

-Matej


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:
> &lt;h1&gt;Willkommen auf der Startseite!&lt;/h1&gt;&lt;p&gt;Hier kommt Ihr
> Text...&lt;/p&gt;
>
> 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

Reply via email to