Hi,

I don't think that's the best way to handle it, as you'll be littering those
calls throughout your code. Take a look at our Showcase sample - in
particular, look at the code that gets executed when the user changes
locales by selecting a different one in the upper-right hand corner of the
app. The code had to be written to handle the exact case that you're talking
about.


Rajeev

On Fri, Feb 5, 2010 at 2:35 PM, cretz <chad.r...@gmail.com> wrote:

> I use the URL it recommends (http://127.0.0.1:8888/index.html?
> gwt.codesvr=127.0.0.1:9997) and I add a history token, but it keeps
> the gwt.codesvr (i.e.
> http://127.0.0.1:8888/index.html?gwt.codesvr=127.0.0.1:9997#login).
> When I login, I do issue a full redirect for OpenID and security
> reasons. That appears to be the issue, because when I add the request
> parameter back, all is good. I guess I will make sure I do a
> GWT.isScript check and if so, redirect with request parameters
> included.
>
> Thanks for the help.
>
> On Feb 5, 12:25 pm, Rajeev Dayal <rda...@google.com> wrote:
> > Hi,
> >
> > On Fri, Feb 5, 2010 at 1:18 PM, cretz <chad.r...@gmail.com> wrote:
> > > "A GWT Compilation is not necessary to run your application in
> > > development mode"
> >
> > > I don't necessarily agree with this. There have been times I have
> > > entered my application via development mode and it tells me "GWT
> > > module 'MODULE_NAME' may need to be (re)compiled". I assume this only
> > > occurs when you have completely cleaned out the "MODULE_NAME" folder
> > > of your war, but I am not sure.
> >
> > That error is a bit of a misnomer - it usually occurs in development mode
> > when you switch SDKs. To fix this problem (until we fix it on our side),
> do
> > the following (whenever you switch SDKs):
> >
> > a) Blow away the generated MODULE_NAME folder in your war directory
> > b) Clear your browser's cache
> >
> > > As for the refresh issue, I too am having the exact same problem with
> > > the exact same setup, and I simply deleted and rechecked out my
> > > project; didn't change any paths. I tried w/ Eclipse 3.5 and that
> > > didn't help. It always worked for me before, but now does not. I have
> > > to completely GWT-Compile my app to see any changes I make.
> >
> > That is definitely problematic, and that should not be the case. When
> you're
> > running your app in development mode, what URL are you using to load up
> your
> > application? Does it contain the "gwt.codesvr" query parameter? Are there
> > any links or redirects in your application (which might cause this
> parameter
> > to be dropped, thereby taking you 'out' of development mode)?
> >
> > > On Feb 5, 9:36 am, Rajeev Dayal <rda...@google.com> wrote:
> > > > Can you explain in more detail the changes that you've made? You
> should
> > > not
> > > > need to change any settings at all in order to get the proper refresh
> > > > behavior. A GWT Compilation is not necessary to run your application
> in
> > > > development mode; you only need to compile it when you deploy it to
> your
> > > > production server.
> >
> > > > On Fri, Feb 5, 2010 at 7:03 AM, Pietro <santure...@gmail.com> wrote:
> > > > > Hi all,
> > > > > I've configured Eclipse Plugin for GWT 2.0 so that compile
> directory
> > > > > is in web app of my web server.
> > > > > All have gone right, but now when I change java code I need to
> > > > > recompile.
> > > > > In Debug configuration I'veconfigured working directory so that it
> > > > > points to compile directory.
> > > > > I'm running on Windows XP and Eclispe 3.4 Ganymede.
> >
> > > > > I really appreciate any help.
> > > > > Thanls in advance,
> > > > > Pietro
> >
> > > > > --
> > > > > You received this message because you are subscribed to the Google
> > > Groups
> > > > > "Google Web Toolkit" group.
> > > > > To post to this group, send email to
> > > google-web-tool...@googlegroups.com.
> > > > > To unsubscribe from this group, send email to
> > > > > google-web-toolkit+unsubscr...@googlegroups.com<google-web-toolkit%2bunsubscr...@googlegroups.com>
> <google-web-toolkit%2bunsubscr...@googlegroups.com<google-web-toolkit%252bunsubscr...@googlegroups.com>
> >
> > > <google-web-toolkit%2bunsubscr...@googlegroups.com<google-web-toolkit%252bunsubscr...@googlegroups.com>
> <google-web-toolkit%252bunsubscr...@googlegroups.com<google-web-toolkit%25252bunsubscr...@googlegroups.com>
> >
> >
> > > > > .
> > > > > For more options, visit this group at
> > > > >http://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
> google-web-tool...@googlegroups.com.
> > > To unsubscribe from this group, send email to
> > > google-web-toolkit+unsubscr...@googlegroups.com<google-web-toolkit%2bunsubscr...@googlegroups.com>
> <google-web-toolkit%2bunsubscr...@googlegroups.com<google-web-toolkit%252bunsubscr...@googlegroups.com>
> >
> > > .
> > > For more options, visit this group at
> > >http://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 google-web-tool...@googlegroups.com.
> To unsubscribe from this group, send email to
> google-web-toolkit+unsubscr...@googlegroups.com<google-web-toolkit%2bunsubscr...@googlegroups.com>
> .
> For more options, visit this group at
> http://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 google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to