Maybe setting a static field to a specific value which could be read in the mayStop() method. If it's set to the parameter, do not ask the questions. Don't think this will cause problems b/c/ the activity will be newly created everytime a user navigates to the corresponding site.
Erik On Mar 24, 11:32 am, Francois Wauquier <[email protected]> wrote: > Hi > > I have an activity with a mayStop method implemented to ask "Have you > finished your work ?" > In some cases, i programmatically use History.back() to go to the previous > token/place. > But i dont want the question to be asked in that case (because i am sure the > work has been done). > may Stop does not have any parameter that allows me to distinguish this case > from other manual actions (navigator url change, navigator close, menu > navigation, > ...)http://google-web-toolkit.googlecode.com/svn/javadoc/2.1/com/google/g...()http://google-web-toolkit.googlecode.com/svn/javadoc/2.1/com/google/g... > > Any idea ? > > Thanks > Francois Wauquier -- 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.
