Hi,

I am using GWT 2.1.1 . I hava a requirement  using Datebox with popup
datepicker. I want to make that field as mandatory. ie I cannot submit
with empty value. However, if i validate on submit, If it is null, i
observed that the value is set to previous selection.

My code as as follows

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

Can anyone help me out on this issue?

Thanks in advance.

Regards,
Raji

-- 
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