Monday, April 30, 2012

Editors and automatic object updates/change propagation.

It appears that the GWT Editor framework only supports explicitly pushing updates to the object being edited by calling the driver's flush() method. However, I want to validate properties as they are changed. Thus in the case of a data-bound form, I'd like to validate a property as soon as the corresponding form field loses focus. I'm using JSR 303 validation to validate the bean being edited, so the state of the bean itself needs to be updated.

Is it possible to automatically propagate Editor changes to the object being edited rather than explicitly invoking flush()?

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/HkR0ijz89hwJ.
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.

No comments:

Post a Comment