Hello Ian, I had a coworker take a look at the data binding framework. It looks really good so far, but we had a couple of questions:
- Is it possible to run the binding on demand instead of automatically with the attached listeners? Say I want to only run the binding after the user pressed the submit button, is that possible? - the converters are useful for general data mapping, but they also seem to be performing the role of validator. Is it possible to use the validation framework from the incubator or the one proposed here: http://code.google.com/p/google-web-toolkit/issues/detail?id=343#c30. Or, should the converters continue to perform the role of converting the data to match the binded data type? The converters wouldn't be a problem if the binding could be delayed and allow validation to run it's course. - when executing Integer.parseInt() in the converters on non Integers, an exception should be thrown, but it seems to be getting caught somewhere. Where is that happening? This framework looks very promising and well thought out. A less verbose binding mechanism would be nice, but I'm not entirely sure how it would be done. Thanks for the great work, I hope that this makes it into the incubator soon. Regards, Arthur Kalmenson On Oct 3, 11:09 pm, "Ian Petersen" <[EMAIL PROTECTED]> wrote: > Here's a sample project. The .tgz includes an updated > data_binding.jar because I found a few bugs while working on the > example. The new JAR also includes .class files as generated by Sun's > javac version 1.5.something. The .tgz includes Sandy McArthur's > PropertyChange stuff, so you _should_ be able to import the Eclipse > project and run it. Let me know if you have problems. > > Ian > > data_binding_example.tgz > 196KViewDownload --~--~---------~--~----~------------~-------~--~----~ http://groups.google.com/group/Google-Web-Toolkit-Contributors -~----------~----~----~----~------~----~------~--~---
