James-Jesse Drinkard
James-Jesse Drinkard

Reputation: 15713

Tutorial on setting up GWT-Validation Framework for a simple app?

I'm looking to setup the GWT-Validation Framework (client side for now) in our application, but I'm not clear from the docs what pieces I need and what goes where?

We are using GWT 2.1 and MVP. I have the inherits entry for Validation in the gwt.xml, but what goes actually goes into the View, Activity, etc... I'm not aware of any tutorials available.

Any help would be appreciated!

Aftermath: At the time when I was trying to use it, GWT 2.1 wasn't compatible with the GWT-Validation framework. After doing more reading I found this out. I don't know if that is still the case.

Upvotes: 4

Views: 5211

Answers (2)

James-Jesse Drinkard
James-Jesse Drinkard

Reputation: 15713

Here is a link that gives some information about the GWT Validation Framework, GWT-Validator and the authors solution, the GWT-Validation library. It is a good synopsis of the issues and why he wrote the new library with some code snippets.

The GWT Validation Library.

Upvotes: 1

smallbec
smallbec

Reputation: 429

I assume you are referring to the validation framework in GWT and not the gwt-validation library? If that's the case, here is a page that describes how you can do bean validation: http://code.google.com/p/google-web-toolkit/wiki/BeanValidation. If you are actually referring to the gwt-validation library, here is a page that describes how to use it: http://code.google.com/p/gwt-validation/wiki/ConceptOfOperations

Upvotes: 4

Related Questions