Create a new component as a subclass of the component in question
(Label). In the constructor you call setEscape...(false). From then on,
only use the new subclass.

But before you do so, read the other responses :)

Regards,
    Erik.


Marco Aurélio Silva schreef:
> Hi all
>
> Is there a way to set EscapeModelStrings to false in a global way (to all
> components)? I'm having problems with this. If the size of a column on
> database is 20, and the user fill 20 characters on this field and one
> character is, for example, ">", wicket will convert it to '>'  and when
> try to save the field will have more than 20 characters. I just don't want
> to call setEscapeModelStrings(false) for every text field on my
> application....
>
>
> Thank you
> Marco
>
>   

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

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

Reply via email to