hi,
when validating user input, each ui control that holds a faulty value should signal this by displaying a red border or something like this. Alternatively a list with all errors should be displayed on top of the page like "Field '<name_of_control_a>' must not be empty", "Field '<name_of_control_b>' only accepts numbers" and so on.
With bean validation, a pojo field must not refer directly to an ui control value. But if so, how to extract the information from the error messages which ui control belongs to a particular message? You can do this by hand. But there should be some automatism.
There is GWT-VL, but it seems to be outdated. Are there any tools that can to the job (in combination withe bean validation) ?
TIA
kibu
-- when validating user input, each ui control that holds a faulty value should signal this by displaying a red border or something like this. Alternatively a list with all errors should be displayed on top of the page like "Field '<name_of_control_a>' must not be empty", "Field '<name_of_control_b>' only accepts numbers" and so on.
With bean validation, a pojo field must not refer directly to an ui control value. But if so, how to extract the information from the error messages which ui control belongs to a particular message? You can do this by hand. But there should be some automatism.
There is GWT-VL, but it seems to be outdated. Are there any tools that can to the job (in combination withe bean validation) ?
TIA
kibu
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.
No comments:
Post a Comment