What version of wicket are you using.
>From the 1.2 snapshot wich was a while ago
=================================
This validator has been deprecated in favor of
FormComponent.setRequired(boolean) Validator that ensures a component has a
non-null and non-empty value. If the component's value is null or empty (a
value is considered empty if it just contains whitespace) when its
containing form is submitted then the errorMessage() method will be called
by the framework.
=================================
If you use form.setRequired( true ) and just use Required=${label} is
required it should work.
Hope this works
// Mathias
--
View this message in context:
http://www.nabble.com/RequiredValidator-tp16795271p16795401.html
Sent from the Wicket - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]