Hi.

I am not a big qooxdoo specialist, but I think I can answer this.

Saving user name and password is not a standardized function. Browsers usually 
detect when there's a password field in a form, and offer to store the contents 
of the form in such cases. However, each browser does it differently.

Seemingly, from what you tell, only FF detects adding a password field 
dynamically, after a page was loaded, and reacts to this the same way as it 
does when the field comes from a static html page.

Therefore, I don't think there's a way to use a browser's (non-)standard 
functionality for this, so you have to roll your own - like this: add a 
checkbox to your login form, saying "keep me logged in for ...". Upon OK in the 
login form, write a cookie with the required information (see qx.bom.Cookie). 
Upon loading of the form, check for the presence of the cookie, and pre-fill 
the fields. Even nicer, you could store arrays of user names and paswords, and, 
upon loading the form, if there's more than a single user+password in the 
cookie, present a list for selection.

Please also be aware that storing passwords in cookies is a security risk. You 
might want to store them at least scrambled, or otherwise obscured, at least.

br,

flj

------------------------------------------------------------------------------

_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to