RequestFactoryEditorDriver and multiple saves/persists
Hi,
I'm using RequestFactoryEditorDriver to drive my editor. In this case, the editor is displayed and the user may make some changes, hit save, make some more changes and hit save again. All the while the same editor is shown.
When the user clicks the save button, I do a driver.flush().fire(). This works great to save the data to the server, the first time. The second time the user clicks "save" I get an "IllegalStateException: A request is already in progress". Now, I totally understand the issue, my question is what to do about it. Is there an established/expected way to deal with this? After a save, should I call "edit" on the driver again with a new requestContext?
-- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/2D0vuzlfZKIJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home