Ian, Something struck me about the way you are approaching things, that is, letting the BoundField's return widgets. With the new HasData stuff being proposed, why not let the programmer create the widget, and bind the field to an already created widget? (if the widgets export an interface like HasData which permits wiring them up.) That seems to provide more flexibility, since people tend to design the look and layout of the widgets and wire up the logic separately.
Couldn't the API look more like this? PersonForm form = GWT.create(PersonForm.class); form.getFirstName().bind(existingWidget, personInstance); form.getLastName().bind(anotherExistingWidget, personInstance); or perhaps form.bindInstance(personInstance). getFirstName().bind(widget1). getLastName().bind(widget2); I realize there may be issues making this work with arbitrary subclasses of Widget, but let's leave that aside for a moment and assume the proper support can be added to the widgets. This would also seem to work alot better with the proposed UI Templating system being proposed. -Ray On Wed, Oct 8, 2008 at 11:28 AM, Arthur Kalmenson <[EMAIL PROTECTED]> wrote: > > I'm sorry to hear that. I hope you have a safe journey. > > Regards, > Arthur Kalmenson > > On Oct 8, 12:14 pm, "Ian Petersen" <[EMAIL PROTECTED]> wrote: >> On Wed, Oct 8, 2008 at 11:46 AM, Arthur Kalmenson <[EMAIL PROTECTED]> wrote: >> > Will you start a new Google Code project for this data binding >> > framework? >> >> I can do that, but my week has suddenly filled up--I'm driving from >> Toronto to Winnipeg tonight for a funeral and then I'll be back Sunday >> night--so I'm not sure when things will get done. If I have internet >> access between now and Sunday, I'll try to move forward during my >> trip. >> >> As for the rest of your post, I'll need to get back to it some other time. >> >> Ian > > > --~--~---------~--~----~------------~-------~--~----~ http://groups.google.com/group/Google-Web-Toolkit-Contributors -~----------~----~----~----~------~----~------~--~---
