I suppose you are searching "GWT.isScript()" method?

On Jan 6, 7:45 pm, "Dariusz Borowski" <[email protected]> wrote:
> Thanks dude! :)
>
> What I meant is, in the code (Java) can I make a distinguish between running
> in hosted or web mode?
>
> I'm testing in hosted mode, but I deploy my app via ANT script and I don't
> want to make changes every time I deploy my app on Tomcat, manually.
>
> Thanks anyway!
>
> On Tue, Jan 6, 2009 at 6:06 PM, yi dan <[email protected]> wrote:
> > if you run your gwt-ext application in eclipse by right click your project,
> > choosing "Run As"->Run, it will start the application in hosted mode,
>
> > in hosted mode, if you click "'Compile/Browse" button, it will compile your
> > javacode and open the final code in a browser, that's web mode.
>
> > On Mon, Jan 5, 2009 at 9:26 PM, Dariusz Borowski <[email protected]>wrote:
>
> >> I'm pretty sure I've seen an easy way to check if the application is being
> >> executed in '*hosted*' or in '*web*' mode.
>
> >> Can anyone give me a hint how to do that?
>
> >> Thanks!
> >> Dariusz
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"GWT-Ext Developer Forum" 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/gwt-ext?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to