This isn't a bug, this is just how the class is defined - DateBox is not a 
ValueBox, so attempting to pass it into a function that expects a ValueBox 
will naturally fail. 

A few options you have: Try making a ValueBoxBase instance that wraps a 
DateBox - this may or may not be possible, but will be necessary if you want 
to use the stock ValueBoxEditorDecorator, which requires access to a 
ValueBoxEditor. 

The other, preferred option would be to make something like a 
DateBoxEditorDecorator. Since DateBox doesn't have any parsing or validating 
stuff, it doesnt generate its own errors (so doesnt need a delegate), so 
this will have some differences from the ValueBoxEditorDecorator.

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