Take a look at the SuggestBox widget. Note that it's a complex composite widget, and that it implements HasValue<Stringā„. Its clients, and I presume yours, are interested in knowing when the user has changed the widget's contents, not whether or not it happens to have gained and lost focus. I'm suggesting your widget should work the same way: it captures browser events (focus, blur, click) as a private part of its implementation; and it generates semantic events (like our ValueChangeEvent<I>, or whatever you come up with) to communicate to its clients.
rjrjr On Mon, Aug 31, 2009 at 7:33 AM, Ed <[email protected]> wrote: > > Hello Ray, > > Thanks for your reply. > > > Don't fake it, replace it: have your composite widget implement > > HasValue<Date> (or whatever). > I am sorry, but I can't follow you here :(... > What do you mean ? > > > > > --~--~---------~--~----~------------~-------~--~----~ http://groups.google.com/group/Google-Web-Toolkit-Contributors -~----------~----~----~----~------~----~------~--~---
