Firefox and Chrome Autocomplete Login Forms

2009-08-26 Thread spike2...@googlemail.com

Hi
I'm building an App, which dynamicall builds a Widget where you can
log in. I'm using 2 TextBoxes, a login-username and a password-box in
a FormPanel in a PopupPanel.
On the onSubmit-Event I make an AJAX-Request to log the user in.
I didn't succeed in triggering the Autofill-Ability of Chrome or
Firefox. Does anyone know what preconditions have to be set to trigger
this.
I gave the textboxes a name and an id, but it still doesn't work...
Does the Autofill-Ability only work on HTML-Pages?

Any Ideas?
--~--~-~--~~~---~--~~
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+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en
-~--~~~~--~~--~--~---



Re: Firefox and Chrome Autocomplete Login Forms

2009-08-26 Thread George Georgovassilis

Hi Spike,

I was pondering the exact same thing the other day. From all the
experiments I made, only FF was able to somewhat reliably remember
passwords. My understanding is that you need a structure with a form,
a login textfield, a password textfield and a submit button:

form action=...
input type=text
input type=password
input type=submit
/form

There _has_ to be a form that submits to the server, otherwise
browsers won't recognise this as a login form. To make things worse,
the login form has to be there in HTML in the page loaded from the
beginning. My attempts to create it in runtime via DOM manipulation
made it invisible to the password completion mechanism.

I'd advise you to use a completely decoupled login form and load your
application only after the login page.

On Aug 26, 9:23 am, spike2...@googlemail.com
spike2...@googlemail.com wrote:
 Hi
 I'm building an App, which dynamicall builds a Widget where you can
 log in. I'm using 2 TextBoxes, a login-username and a password-box in
 a FormPanel in a PopupPanel.
 On the onSubmit-Event I make an AJAX-Request to log the user in.
 I didn't succeed in triggering the Autofill-Ability of Chrome or
 Firefox. Does anyone know what preconditions have to be set to trigger
 this.
 I gave the textboxes a name and an id, but it still doesn't work...
 Does the Autofill-Ability only work on HTML-Pages?

 Any Ideas?
--~--~-~--~~~---~--~~
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+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en
-~--~~~~--~~--~--~---



Re: Firefox and Chrome Autocomplete Login Forms

2009-08-26 Thread Thomas Matthijs

Example for firefox:

http://raibledesigns.com/rd/entry/browser_based_username_password_autocomplete

--~--~-~--~~~---~--~~
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+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en
-~--~~~~--~~--~--~---



Re: Firefox and Chrome Autocomplete Login Forms

2009-08-26 Thread spike2...@googlemail.com

Sadly not an option
Login is optionally in my app, you can, but you don't have to.
If I use an IFrame, I can't access the Information generated in there.
I could have used the User-Capability of Google App, but I did't
exactly for that reason.
I hate these Worarounds.

On 26 Aug., 11:48, George Georgovassilis g.georgovassi...@gmail.com
wrote:
 Hi Spike,

 I was pondering the exact same thing the other day. From all the
 experiments I made, only FF was able to somewhat reliably remember
 passwords. My understanding is that you need a structure with a form,
 a login textfield, a password textfield and a submit button:

 form action=...
 input type=text
 input type=password
 input type=submit
 /form

 There _has_ to be a form that submits to the server, otherwise
 browsers won't recognise this as a login form. To make things worse,
 the login form has to be there in HTML in the page loaded from the
 beginning. My attempts to create it in runtime via DOM manipulation
 made it invisible to the password completion mechanism.

 I'd advise you to use a completely decoupled login form and load your
 application only after the login page.

 On Aug 26, 9:23 am, spike2...@googlemail.com

 spike2...@googlemail.com wrote:
  Hi
  I'm building an App, which dynamicall builds a Widget where you can
  log in. I'm using 2 TextBoxes, a login-username and a password-box in
  a FormPanel in a PopupPanel.
  On the onSubmit-Event I make an AJAX-Request to log the user in.
  I didn't succeed in triggering the Autofill-Ability of Chrome or
  Firefox. Does anyone know what preconditions have to be set to trigger
  this.
  I gave the textboxes a name and an id, but it still doesn't work...
  Does the Autofill-Ability only work on HTML-Pages?

  Any Ideas?


--~--~-~--~~~---~--~~
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+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en
-~--~~~~--~~--~--~---



Re: Firefox and Chrome Autocomplete Login Forms

2009-08-26 Thread George Georgovassilis

Ok, how about this:

A user works, anonymously ( = not logged in ) with your application.
At some point he decides (or the application decides) that he wants to
log in. You navigate him to the (non GWT) login page, he does the
login and you reload the application.

You can tell your application that the user is logged in either by
putting that information into a hidden div in the module page which
your app can query then. Or your app can simply test for the existence
of a cookie (i.e. jsessionid).

On Aug 26, 12:23 pm, spike2...@googlemail.com
spike2...@googlemail.com wrote:
 Sadly not an option
 Login is optionally in my app, you can, but you don't have to.
 If I use an IFrame, I can't access the Information generated in there.
 I could have used the User-Capability of Google App, but I did't
 exactly for that reason.
 I hate these Worarounds.

 On 26 Aug., 11:48, George Georgovassilis g.georgovassi...@gmail.com
 wrote:

  Hi Spike,

  I was pondering the exact same thing the other day. From all the
  experiments I made, only FF was able to somewhat reliably remember
  passwords. My understanding is that you need a structure with a form,
  a login textfield, a password textfield and a submit button:

  form action=...
  input type=text
  input type=password
  input type=submit
  /form

  There _has_ to be a form that submits to the server, otherwise
  browsers won't recognise this as a login form. To make things worse,
  the login form has to be there in HTML in the page loaded from the
  beginning. My attempts to create it in runtime via DOM manipulation
  made it invisible to the password completion mechanism.

  I'd advise you to use a completely decoupled login form and load your
  application only after the login page.

  On Aug 26, 9:23 am, spike2...@googlemail.com

  spike2...@googlemail.com wrote:
   Hi
   I'm building an App, which dynamicall builds a Widget where you can
   log in. I'm using 2 TextBoxes, a login-username and a password-box in
   a FormPanel in a PopupPanel.
   On the onSubmit-Event I make an AJAX-Request to log the user in.
   I didn't succeed in triggering the Autofill-Ability of Chrome or
   Firefox. Does anyone know what preconditions have to be set to trigger
   this.
   I gave the textboxes a name and an id, but it still doesn't work...
   Does the Autofill-Ability only work on HTML-Pages?

   Any Ideas?
--~--~-~--~~~---~--~~
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+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en
-~--~~~~--~~--~--~---



Re: Firefox and Chrome Autocomplete Login Forms

2009-08-26 Thread Thomas Broyer



On 26 août, 09:23, spike2...@googlemail.com
spike2...@googlemail.com wrote:
 Hi
 I'm building an App, which dynamicall builds a Widget where you can
 log in. I'm using 2 TextBoxes, a login-username and a password-box in
 a FormPanel in a PopupPanel.
 On the onSubmit-Event I make an AJAX-Request to log the user in.
 I didn't succeed in triggering the Autofill-Ability of Chrome or
 Firefox. Does anyone know what preconditions have to be set to trigger
 this.
 I gave the textboxes a name and an id, but it still doesn't work...
 Does the Autofill-Ability only work on HTML-Pages?

 Any Ideas?

This is the best I could come with:
http://groups.google.fr/group/Google-Web-Toolkit/t/2b2ce0b6aaa82461

--~--~-~--~~~---~--~~
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+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en
-~--~~~~--~~--~--~---