Re: AppEngine Users Service with GWT will always reload page/module upon login

2010-10-12 Thread Shedokan
Maybe open the login in a new window or in a new tab and once the user has logged in he will click a button like I have logged in and then just ajax to the server and check his login status. On 5 אוקטובר, 20:27, Haris harishas...@gmail.com wrote: A good idea. However there bound to be user who

Re: AppEngine Users Service with GWT will always reload page/module upon login

2010-10-12 Thread Ikai Lan (Google)
Here's another solution: 1. Cookie the user with a UUID for each browser page instance. You can do this either server side or client side, though I'm a bit wary of client side UUID generation. For most intents and purposes, the possibility of a clash is too low to worry about. 2. If the user is

Re: AppEngine Users Service with GWT will always reload page/module upon login

2010-10-05 Thread Shedokan
Maybe instead try asking the person to login before enabling him the option to write a message? On Oct 3, 12:31 pm, Haris harishas...@gmail.com wrote: Using Users Service, after filling up login and password and press OK, onModuleLoad is executed. Basically the gwt module is reloaded. I am

Re: AppEngine Users Service with GWT will always reload page/module upon login

2010-10-05 Thread Didier DURAND
Hi, can't you store this text in a cookie so that you get it back after reload ? (I would even say you that you can push this cookie back/down to the client browser via some rpc form of you choice in order to place it in the browser cache before reload happens) regards didier On Oct 5, 1:56 pm,

Re: AppEngine Users Service with GWT will always reload page/module upon login

2010-10-05 Thread George Georgovassilis
Hello Haris, Not sure if I understand your problem, so I'll rephrase it: You have a GWT page with a Form element and a submit button. When the submit button is clicked, the page is reloaded. Question: Do you programmatically construct the form or does it exist in the static html? The reason

Re: AppEngine Users Service with GWT will always reload page/module upon login

2010-10-05 Thread Thomas Broyer
On Oct 3, 12:31 pm, Haris harishas...@gmail.com wrote: Using Users Service, after filling up login and password and press OK, onModuleLoad is executed. Basically the gwt module is reloaded. I am going to loose data entry stuff form the user. For instant if someone is typing a forum post and

Re: AppEngine Users Service with GWT will always reload page/module upon login

2010-10-05 Thread Haris
The way the users service work is. A login or logout url is generated by the User Service API. The link with this URL is presented to User. Let say to login, User will click the login url and it will redirect to login page. I did not create this login page. If using Google, it is google login

Re: AppEngine Users Service with GWT will always reload page/module upon login

2010-10-05 Thread Haris
As per your reply: - do the login in a popup window, with your redirect_to URL signaling the opening window (your app) that the user is successfully logged in This is what I want to do. Just that I do not know how to do it. Perhaps I will figure this out eventually. Will be great if

Re: AppEngine Users Service with GWT will always reload page/module upon login

2010-10-05 Thread Haris
A good idea. However there bound to be user who type very long message and time out. On Oct 5, 7:56 pm, Shedokan shedok...@gmail.com wrote: Maybe instead try asking the person to login before enabling him the option to write a message? On Oct 3, 12:31 pm,Harisharishas...@gmail.com wrote:

AppEngine Users Service with GWT will always reload page/module upon login

2010-10-04 Thread Haris
Using Users Service, after filling up login and password and press OK, onModuleLoad is executed. Basically the gwt module is reloaded. I am going to loose data entry stuff form the user. For instant if someone is typing a forum post and click submit only to discover that login already timeout.