Try
dateField.add(new DatePicker());
I suspect you have a version mismatch -- using 1.2 examples for 1.3.3
Cheers,
Tim
On 25 May 2008, at 25/05/2008 1:54PM, shrimpywu wrote:
i am useing wicket 1.3.3
and try to follow the sample as below
HTML:
Java:
TextField dateField = new TextField("date", Date.class);
dateField.setRequired(true);
add(dateField);
DatePicker dp = new DatePicker("datePicker", dateField);
add(dp);
but it complain do not have such constructor
can anyone tell me how to use the date picker???
--
View this message in context:
http://www.nabble.com/why-the-datepicker-sample-doesn%60t-work-tp17457646p17457646.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]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]