In the old GXT 2 days, I used FormButtonBinding a lot, to make my buttons enable and disable themselves depending on if a FormPanel was valid or invalid.
However I see that the class doesn't exist any more, and also a lot of examples have moved away from the FormPanel. That's all fine apart from two useful details: VerticalLayoutContainer does not have an isValid for fast and easy validation and the missing FormButtonBinding as previously mentioned.
I could create something similar myself, but then some questions occurs:
- There must be a reason for moving away from FormPanel for the examples? Does it mean I shouldn't use it, unless I need to submit data to some non-GWT-service?
- Is there a replacement for FormButtonBinding? If not there's probably a good reason for it's removal?
- Is there a good way to achieve this functionality? Some method, class or similar I just don't find?