Thanx Thomas. That's exactly what I needed! And why the *** didn't I find that myself :-(
On Apr 21, 1:05 am, Thomas Broyer <[email protected]> wrote: > On 20 avr, 12:41, Joost Bloemsma <[email protected]> wrote: > > > Hi, > > > Can anyone tell me if there is any way to find out, at runtime, in > > what mode the application is running? > > I mean, I would like to test if my app is running in development mode > > or hosted mode. Depending on the result I would like to change some > > settings at runtime like logging level, add the gwt.codesvr url to the > > login/logout url for the userService and so on. > > Have a look at GWT.isScript(). > > -- > 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 > athttp://groups.google.com/group/google-web-toolkit?hl=en. -- 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.
