I'm using the org.apache.wicket.datetime.markup.html.form.DateTextField
component for my date fields.

When I enter some random string in the text field in the feedback panel,
"'asdfasdf' is not a valid Date." message appears.

I would like to customize that message, but I can't find which key I need to
insert in the properties file.

SomePage.properties -->
dateTextField.<NameOfValidator> = The date is not valid custom message.

Does somebody know what do I need to insert instead of the <NameOfValidator>

I searched the javadoc for the component and the web but didn't find the
validator name.

The component is defined as follows in the java file:

SomePage.java -->
DateTextField dateTextField= new DateTextField("dateTextField", new
PropertyModel(model,    "propertyName"), new

dateTextField.add(new DatePicker());


View this message in context: 
Sent from the Wicket - User mailing list archive at Nabble.com.

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

Reply via email to