On Tuesday, September 4, 2012 1:26:37 AM UTC+2, Craig Mitchell wrote:
>
> I'm a little confused.  The way Tomas showed (above) used to work with 
> Autocomplete, however, Chrome decided it wasn't going to play nice with 
> that any more.
>
> The only solution I could find was to do a login with a form.  Eg: <form 
> action="login" method="GET">...</form>
>
> I don't know how to get Autocomplete working in Chrome with GWT RPC, and I 
> don't understand what you're talking about with switching to a restful 
> approach.
>
> If you (or anyone) can offer a solution not using a form, I'm all ears. 
>  As, yes, forms are so 2000s, and I would rather not use them.
>

Best way to do auth IMO is to either:

   - redirect to a "standard login form" (like Google does, for instance 
   for Groups; have a look at the Expenses and MobileWebApp samples), this 
   will unload/reload the app;
   - if your have to keep the current app state around (cannot 
   unload/reload the app), then do the auth in a window using a "standard 
   login form" (similar to 
   
http://openid.net/2009/05/14/google-and-janrain-release-support-for-the-openid-user-interface-extension/
    )

-- 
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/-/VqKzCiPrgzcJ.
To post to this group, send email to google-web-toolkit@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