Wednesday, March 28, 2012

Re: GMail authentication with GWT + GAE - works in development but fails in production

Window.open() ?

On Wednesday, March 28, 2012 6:15:47 PM UTC+2, Deepak Singh wrote:
The reason is that Gmail does not allow to be opened in Frame/IFrame. When i replace it with browser window, it works.

But i dont want my page to be refreshed, so any solution to avoid reloading the window in case of Gmail authentication ?

Thanks
Deepak

On Wed, Mar 28, 2012 at 7:04 AM, Joseph Lust wrote:
Deepak,

Can you run your app in DevMode but using the remote server option so that calls are being sent out to the actual Google APIs? I find it useful as you can step through and debug the production code in Eclipse, but the backend code is in production.

Just disable the built in server option, and in the GWT tab and URL field put the full remote path where you normally see MyApp.html. Of course the code versions in each side my be identical or you can get RPC errors.


Sincerely,
Joseph

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/bIgyQw2-DWAJ.
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.



--
Deepak Singh

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/mAAXGo4Y6F4J.
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