this is a security feature. to turn it off, call
setEscapeModelStrings(false) on the component whose model should be
allowed to contain unescaped markup.
Francis Amanfo wrote:
Hi,
I have a label component id in my markup that is linked to a model
that contains a string like <i>hello world</i>.
Currently Wicket displays the string as is on the label, which doesn't
surprise me. But I don't want that. I want the tags to be transformed
as well. I know this can be achieved by wraping the <i></i> around my
<span> or id declaring the component. But I want to know if there is
a way to force Wicket to transform html tags in the output.
Francis
-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user