You were on the right track, label is the right choice.

You need to provide Label a model that retrieves the string from your db. How you write that model is up to you. (I guess you already have this part.)

If you do not want the encoding, call setEscapeModelStrings(false) on the label.

Regards,
    Erik.


mmocnik wrote:
Hi,

I'm currently searching for a way to insert an HTML String which I get out
of a DB into a Wicket Page.
The HTML string is from another application, so I can't change anything in
it.

My first approach was to use a Label, but as Labels encode HTML entities,
this failed...
I just can't find any Component, that would fit here.

Any sugestions on a component or alternate aproaches?

Thanks and regards,
Marko


--
Erik van Oosten
http://www.day-to-day-stuff.blogspot.com/


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to