IIUC, you should use 2 distinct RequestContext, creating a new RequestContext each time you open the dialog box. That way, when the use clicks "cancel", you simply let the RequestContext be garbage collected, and any changes made to the object being scoped to a RequestContext would go away with it. And of course, to make sure your object isn't already edited by your "main" editor (which would cause a "crossing streams" error if you try to edit it again in another RequestContext), if you display it here, make sure you annotate the editor with @Ignore and use a specific EditorDriver for the sub-editor where you'd do a display() instead of edit().
-- 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.
