Re: ValueProxy.EntityProxy.field problem on setViolations()

2011-02-15 Thread Y2i
After upgrading to GWT 2.2.0 everything works fine.  Thanks GWT team! 

-- 
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+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: ValueProxy.EntityProxy.field problem on setViolations()

2011-02-15 Thread Y2i
Oops, sorry I ran a wrong test.  It is still not working when editing nested 
structures.  But thanks for GWT 2.2.0 anyway :-)

-- 
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+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: ValueProxy.EntityProxy.field problem on setViolations()

2011-02-10 Thread Y2i
Bump...

-- 
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+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



ValueProxy.EntityProxy.field problem on setViolations()

2011-02-09 Thread Y2i
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/ABI/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 google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.