Friday, September 3, 2010

createLoginUrl not working in gwt dev mode (GWT and GAE tutorial)

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 url http://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 <billy_turc...@hotmail.com>
Date: 19 Mag, 02:55
Subject: createLoginUrl not working in 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 the createLoginUrl functionality 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 google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

No comments:

Post a Comment