Hi,
I have a subclass if TextField which handles if the field should be
rendered as textarea or simple input field:
@Override
protected void onComponentTag(final ComponentTag tag) {
if ( multiline ) {
tag.setName( "textarea" );
}
else {
tag.put("value", getValue());
tag.setName( "input" );
}
super.onComponentTag( tag );
}
This doesn't work any more since the upgrade to wicket 1.5, because
onComponentTag(tag) of TextField.java checks for hardcoded "input"
tag: checkComponentTag(tag, "input");
Is this behavior intended? Unfortunately this causes some headache in
my application.
Regards,
Arthur
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]