A possible workaround is to use GWT.isProdMode() and manually append the codesvr URL.
HTH, On Thu, Oct 21, 2010 at 10:17 AM, BrianP <[email protected]> wrote: > I've run into the same problem. I'm running in dev mode at > http://127.0.0.1:8888/mypage.jsp?gwt.codesvr=127.0.0.1:9997 but > GWT.getHostPageBaseURL() returns http://127.0.0.1:8888/ and so I am > redirected there. Is there any way to detect dev mode and append my > info, or have GWT.getHostPageBaseURL() return a dev mode url? > > On Sep 3, 9:13 am, moriones <[email protected]> wrote: >> i get more or less the behaviour described in the quoted message (gwt >> 2.0.4, appengine 1.3.7) >> >> when I return from login the application works but i cannot see what i >> send to the console with System.out, i cannot debug, >> I suppose this is because of the wrong urlhttp://127.0.0.1:8888/ >> >> the system.out worked just one time after i made a 'gwt compile' (but >> the debug still didn't work) >> >> >> >> ---------- Forwarded message ---------- >> From: Billy <[email protected]> >> Date: 19 Mag, 02:55 >> Subject:createLoginUrlnotworkingin gwt dev mode - loses >> >> gwt.codesvr parameter >> To: Google Web Toolkit >> >> I have an application using GWT and AppEngine (more or less following >> the StockWatcher tutorial) which I access locally as: >> >> http://127.0.0.1:8888/mypage.jsp?gwt.codesvr=127.0.0.1:9997 >> >> I am creating a login url using: >> >> userService.createLoginURL(requestUri) >> >> where requestUri is passed to my server-side login service from my >> entry point as: GWT.getHostPageBaseURL(). >> >> After logging in I am redirected tohttp://127.0.0.1:8888/ >> >> This loses the dev mode parameter gwt.codesvr and thusly this redirect >> only works after I have a done a "GWT compile". >> >> (This is using GWT SD 2.0.3 and App Engine SDK 1.3.3) >> >> Is it possible to use thecreateLoginUrlfunctionality while remaining >> in dev mode? >> >> Thanks! > > -- > 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. > > -- David Chandler Developer Programs Engineer, Google Web Toolkit http://googlewebtoolkit.blogspot.com/ -- 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.
