Hie

I want that on selecting a value from date picker it should be stored at
DD/MMM/YYYY format. Not able to find a way. I tried like:

DateBox dateOfBirth = new DateBox();
 dateOfBirth.addValueChangeHandler(new ValueChangeHandler<Date>(){

@Override
public void onValueChange(ValueChangeEvent<Date> event) {
    DefaultFormat format = new DateBox.DefaultFormat();
    dateOfBirth.setValue(format.parse(dateOfBirth, "dd/mmm/yyyy", true));
 }});


Please advise.

Thankx and Regards

Vik
Founder
http://www.sakshum.org
http://blog.sakshum.org

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