开发者

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

开发者 https://www.devze.com 2023-02-24 21:10 出处:网络
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?

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开发者_如何学C 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.


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


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消