On Mon, Oct 26, 2009 at 11:17 AM, NiJK <[email protected]> wrote:
>
> igor.vaynberg wrote:
>>
>> add(new label("output", new propertymodel(this,
>> "itsMethod")).setescapemodelstrings(false));
>> and im markup
>> <wicket:container wicket:id="output"></wicket:container>
>> -igor
>>
>
> Igor,
>
> I just tried this and I end up with all the HTML contained within the wicket
> tags.

you can say: setrenderbodyonly(true) to remove those, usually those
would be stripped via a global setting or when your app is configured
to run in deployment mode.

> Also, despite the setEscapeModelString(false), all the HTML is escaped.

that is pretty weird. i just tried and it worked fine for me...

-igor

>
> --
> View this message in context: 
> http://www.nabble.com/How-to-write-HTML-directly-tp26063933p26064720.html
> Sent from the Wicket - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to