Thanks everyone for your help. I traced the problem with the flushing down
to a portion of the Proxy's object tree not being populated with the .with()
call. When the Flusher was hitting that part of the object, the call
to ctx.canSetInModel() was returning false and the flush was failing
If you have flushed the changes from the editor from your dialog form to
your ChildObjProxy, you should just be able to call CellTable#redraw() on
the instance used by your ListEditor to have the view refreshed.
Jesse
On Wed, Sep 28, 2011 at 10:46 PM, Eric Andresen ericandre...@gmail.comwrote:
It has already been discussed before, and I believe the correct (as in
respects the Editor contract) solution is to store the changes apart, use
them in your columns to display the changed value, and apply those changes
to the objects on flush().
The Showcase sample does something similar (not
Don't know if it will help, but you might check out the ValueAwareEditor
interface. Editors that implement it are fed with property updates during
editing.
--
You received this message because you are subscribed to the Google Groups
Google Web Toolkit group.
To view this discussion on the web
Thanks for the idea. I took a quick look at that interface, but I didn't
want my sub-editors to have to report every single change as they happened,
I wanted the updates all at once as a single object (since my CellTable
takes objects).
The route I'm currently looking down involves passing
I don't get why you have/want to flush the subeditor of your CompositeEditor
(and by the way, why aren't you using a ListEditor?)
Could you explain? (actually, I don't understand your 2.d and 2.e steps)
--
You received this message because you are subscribed to the Google Groups
Google Web
Hi Thomas,
You are right that the ListEditor (or HasDataEditor) is the behavior I
wanted to use, but my Proxies at the time were related with a Set
interface based on the server-side requirements. Essentially what I did was
re-write the ListEditor as a SetEditor.
Recently we had to
I have a CompositeEditor that displays a list of sub-objects and allows me
to add/delete/edit the objects in that list with sub-editors.
I am seeing a problem where I edit one of my objects inside the sub-editor,
and then try to refresh the list once the edit is complete. The issue I see
is