I originally proposed a HasValue interface in this
thread<http://groups.google.com/group/Google-Web-Toolkit-Contributors/browse_thread/thread/b696e7319fc6bea>.
Although the discussion largely focused on data binding, HasValue is not an
attempt at a data binding library. The HasValue concept is more about
providing a common API for many Widgets and other Objects that have a
distinct logical value. This is conceptually the same as HasText, but
parameterized to allow for data types other than String.
The attached patch to the Incubator trunk includes the HasValue interface
and implements this interface in DropDownListBox and DatePicker.

--~--~---------~--~----~------------~-------~--~----~
http://groups.google.com/group/Google-Web-Toolkit-Contributors
-~----------~----~----~----~------~----~------~--~---

Attachment: HasValue.patch
Description: Binary data

Reply via email to