Reputation: 2468
I am a newbie in GWT. Currently using GWT 2.4 for our development project. Now facing a problem with Client side validation due to lack of documentation on Validation.
Now I want to know 'Is there any Google official validation framework for GWT 2.4?' [Not code project]. If not, then what are the alternatives + good documentation/tutorial?
Please help.
Thanks in advance.
Upvotes: 3
Views: 657
Reputation: 1146
GWT 2.4 supports Java Bean Validation on the client side (with limitations). Unfortunately there's only little documentation, but you can see a introduction to it here.
As far as I remember, GWT bean validation can be used with the Editor Framework.
For extended bean validation support, you can use gwt-validation.
Edit: There will possibly be better support of Bean Validation (JSR 303) in GWT 2.5
Upvotes: 1
Reputation: 795
I agree w/ you that there needs to be better and simpler native support for client side validation. In the meantime you might have a gander here: https://stackoverflow.com/posts/comments/15989932.
Upvotes: 0
Reputation: 1888
Good question. I have never heard of native validation support. Try gwt-validation, which is a bean validation framework. They have a demo project and description. It's not official, of course, but can be helpful. GXT library also provides validation tools, although it is a commercial one.
Hopefully they will eventually decide to merge gwt-validation project into GWT, since it's a really important issue.
Upvotes: 1