I'm seeing EditorDriver.flush() returns duplicated editor errors on
the first call, and I'm not sure what's causing it. I need some help
>_<

I'm doing:
driver.initialize( my view );
driver.edit( my data );

in my view, I have a sub editor that implements HasEditorDelegate, and
does:
public MyObject getValue() {
      // some checkings and delegate.recordError(...)
}

and the view itself, it implements HasEditorErrors and
public void showErrors(...) {
      // update view to reflect editor errors
}


everything works as expected up to driver.edit. I can see my widgets
displaying the object being edited

some time later, upon a button click, I call
modifiedObject = driver.flush()

in the UI, there are two identical copies of each error. e.g.
showErrors is invoked with arg [error1, error1, error2, error2, etc].
The duplicates have identical values as their originals, except they
are different objects

but if I call
modifiedObject = driver.flush()
modifiedObject = driver.flush()
twice, then the second flush properly generates errors without
duplicates.

any help is appreciated. thanks

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