Johannes Schneider <johannes <at> familieschneider.info> writes:
> I have found this method and discovered that it is not used within
> component.
> But I can't propose anything because I am a newbie to Wicket ;).
Try:
public class EscapingTextField extends TextField {
public EscapingTextField(String id, IModel object) {
super(id, object);
}
protected String getModelValue() {
return Strings.escapeMarkup(
getModelObject().toString(), true, true)
.toString();
}
}
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user