Hi ,

I am using GWT 2.2 Datebox. My code is as follows

 DateBox dateBox = new DateBox();
 dateBox.setFormat(new
DateBox.DefaultFormat(DateTimeFormat.getFormat("ddMMMyy") ));

Right now if i enter date like 02/03/2011 it is converted in to
03Feb11.

But my requirement is if the user enters date except the given
format(ddMMMyy), the DateBox should throw error.

How to achieve this? Can anyone help me out on this?

Thanks in advance,
Raji MS

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to