I would like to know How I can validate the string date inputted by a user
in a textfield of my form ?
you can use:
org.apache.wicket.datetime.markup.html.form.DateTextField
ex:
DateTextField date = DateTextField.forDatePattern("date", "dd/MM/");
This component will validate the inputs against
I would like to know How I can validate the string date inputted by a
user in a textfield of my form ?
e.g : The SimpleDateformat to be used to create a java Date is : dd/MM/
So I would like to check that the user has well introduced its date
using this format in the html field. Is it possibl