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

I want to configure the GWT-Validation Framework (client side at the moment) in our application, but I donโ€™t understand which documents I need and what happens?

We use GWT 2.1 and MVP. I have an inheritance entry for Validation in gwt.xml, but what actually goes into the view, activity, etc ... I don't know about the tutorials available.

Any help would be appreciated!

Aftermath: At the time I tried to use it, GWT 2.1 was not compatible with the GWT-Validation base. After I read more, I realized this. I donโ€™t know if this is so.

+4
source share
2 answers

I assume that you are referring to the validation structure in GWT and not to the gwt-validation library ? If this is 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 really link to the gwt validation library, here is a page that describes how to use it: http://code.google.com/p/gwt-validation/wiki/ConceptOfOperations

+4
source

Here is a link that gives some information about the GWT Validation Framework, the GWT-Validator and the authors decision, the GWT-Validation library. This is a good overview of the problems and why he wrote a new library with some code snippets.

GWT Validation Library.

+1
source

Source: https://habr.com/ru/post/1347990/


All Articles