Sunday, December 4, 2011

how do i clear constraintViolations from the editor?

hi..

i'm using editor framework along side request Factory and validations
on server side.

if i try to input a value which does not conform to validation rules i
get an error, however, i re-bind editor (for each edit, i do a ,
GWT.create(Driver), Driver.initilize,Driver.edit(proxy,rf) the errors
on the decorators still remain

i have to to do a Driver.setConstraintViolationsn(New ArrayList()) for
them to be cleared, isn't there a better way?

--
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