Tuesday, March 15, 2011

Re: EditorDriver.setViolations in 2.3 release branch doesn't work as expected



On Tuesday, March 15, 2011 7:09:08 PM UTC+1, Marcin Misiewicz wrote:
Also, I'm confused, what kind of errors are recorded by the editorDriver during flushing. 
In DynaTableRF checking for errors after flush results in one error related to the zipCode field (so suprisingly it looks like client side validation ? ).
But in my example it simply doesn't work, althought I also have the embeded Address ValueProxy with the zipCode member annotated by @Pattern.

The zipCode field is a ValueBox, whose Parser throws ParseException; and the ValueBoxEditor translates these exceptions into errors: http://code.google.com/p/google-web-toolkit/source/browse/releases/2.3/user/src/com/google/gwt/editor/ui/client/adapters/ValueBoxEditor.java#82
Nothing to do with JSR 303 Bean Validation.

Can't help on the validation side though.

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate