Sunday, October 31, 2010

Re: GWT2.1 : sample Data bound views

On 31 oct, 01:20, googelybear <> wrote:
> 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
display errors.
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
To unsubscribe from this group, send email to
For more options, visit this group at

No comments:

Post a Comment