I'm indeed using SimpleBeanEditorDriver and I don't see anything at the editor level neither.
Thanks for your answer anyway Thomas. On 22 oct, 23:49, Thomas Broyer <[email protected]> wrote: > On 22 oct, 18:50, Vincent <[email protected]> wrote: > > > Hello, > > > I'm working on a prototype which involve GWT 2.1 Activity andEditors. > > The idea is that the Activity should warn the user (mayStop() return > > non null) if the bean has been edited by the user. > > > For now, the only way I find to achieve this is to call the flush > > method to get the edited bean and compare it to the initial bean in > > the Activity in the mayStop method. > > > Is it the right way to do this or is there a better way to do it? > > If you're using RequestFactory and editing a proxy > (RequestFactoryEditorDriver) then you can probably use the > RequestContext#isChanged > method:http://google-web-toolkit.googlecode.com/svn/javadoc/2.1/com/google/g...() > But there's nothing at the editor level (that I know of), which means > nothing if you're using SimpleBeanEditorDriver -- 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.
