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 page. If using Yahoo as the Open ID provider, then it
is Yahoo page.

Perhaps this the reason for the reload. Because, after a successful
login. My page or app is reloaded by the login page from Google or the
open ID provider?

However it is still frustrating.


On Oct 5, 8:43 pm, George Georgovassilis <g.georgovassi...@gmail.com>
wrote:
> HelloHaris,
>
> 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 for the reload is likely that GWT does not consume the
> submit event. To get started, you must use a <button> element, since
> <input type="submit"> will cause the form to be mercilessly submitted.
> Also, you need to register a clickHandler on that button, otherwise
> the form will be submitted again with Internet Explorer.
>
> 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 click submit only to
> > discover that login already timeout. The person relogin using User API
> > login page
> > only to discover that the text typed is lost because of this.
>
> > Any suggestion?
>
> > Regards,
> >Haris

-- 
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