Francisco Diaz Trepat - gmail wrote:
> 
> Hi can some one point me on how to format a text field to get a date like
> '
> dd.MM.yy' and then, when submitting the form get a clean pass?
> 
> you see I am getting a not a valid date message.
> 

I use the wicket-datetime package.  in there, you'll find the DateTextField:
DateTextField myDate = DateTextField.forDatePattern("myDate", "dd.MM.yy");

There might also be a DateTextField in wicket core or wicket-extensions.  

Does that help?

Chuck
-- 
View this message in context: 
http://www.nabble.com/How-to-format-a-TextField-to-get-a-valid-Date-tf3764806.html#a10643479
Sent from the Wicket - User mailing list archive at Nabble.com.


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to