Hello everyone,

It seems there is a problem with driver.setViolations() call when editing 
structures like ValueProxy.EntityProxy.field

If I edit EntityProxy.field and the field is erroneous, the server calls 
onViolation() and when I call driver.setViolations() the erroneous fields 
are properly highlighted (I use a variant of ValueBoxEditorDecorator for 
highlighting).

If I edit  ValueProxy.EntityProxy.field and the field is 
erroneous, driver.setViolations() has no effect (no highlighting occurs).
But if the error is local (occurs during driver.flush(), no request to the 
server and, consequently, no driver.setViolations() call), then the field is 
also properly highlighted.

What seems to happen in setViolations() is the delegateMap does not have any 
delegates for the erroneous proxy.  Is there a way to somehow configure this 
map?
Any help would be greatly appreciated. Thanks in advance!

<https://lh5.googleusercontent.com/_22exfzLFcnE/TVM7ZqhHIYI/AAAAAAAAABI/kaK3_2fJyY0/Screenshot.png>

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

Reply via email to