add(new Label("foo", "<h1>Hello</h1>").setEscapeModelStrings(false));

So, it's the escapeModelStrings flag you're after.

Eelco


On 6/18/06, Karl M. Davis <[EMAIL PROTECTED]> wrote:
>
>
>
>
> Hello all,
>
>
>
> I have a control which loads HTML content from a database and then displays
> it in a page.  However, I am having trouble finding a component/workaround
> that allows that content to contain its own HTML tags.  Adding the text to a
> label, my HTML gets encoded such that <h1>PageHeader</h1> is output as
> &lt;h1&gt;PageHeader&lt;/h1&gt; in the page source… not quite what I'm
> looking for.
>
> How should I go about this?
>
>
>
> Thanks,
>
> Karl M. Davis
>
>
> _______________________________________________
> Wicket-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>
>
>


_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to