> I am also trying out the new editor framework. Did anyone already find
> out how to define constraints on fields? E.g. I have a TextBox and the
> user needs to type at least n characters in it otherwise an error
> should be displayed.
Editors are orthogonal to this use case. It's up to your widget or
"domain model" to do the validation; Editor only makes it easy to
There's work being done on integration with javax.validation (JSR303),
being able to have validators run on the client-side as well as the
server-side; but AFAICT it's not yet ready.
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to firstname.lastname@example.org.
To unsubscribe from this group, send email to email@example.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Post a Comment