Re: [qooxdoo-devel] Autofill form fields

2014-12-15 Thread Fritz Zaucker
And as Tobi pointed out to me: I should use qx.bom.storage.Web instead ... Cheers, Fritz On Mon, 15 Dec 2014, Fritz Zaucker wrote: > Hi Daniel, > > in partly works for me. With the code you suggested I get a list of > suggestions when clicking into the TextField(). However, the list of > sugges

Re: [qooxdoo-devel] Autofill form fields

2014-12-14 Thread Fritz Zaucker
Hi Daniel, in partly works for me. With the code you suggested I get a list of suggestions when clicking into the TextField(). However, the list of suggestions has only strings stored from other websites and is not updated on rpcAsync() backend calls. The fields are also not automatically filled o

Re: [qooxdoo-devel] Autofill form fields

2014-12-13 Thread Tom Saddul
One way is to setup setters and getters for each field utilizing closures. This is what I prefer because it can work with as many tables without creating bloat code. Another way is to create a method for setting fields i.e. setData() and another a method to retrieve the field values i.e. getData(

Re: [qooxdoo-devel] Autofill form fields

2014-12-11 Thread Daniel Wagner
Hi Fritz, that's strange, it works for me (in Chrome and Firefox) with just this code: var input = new qx.ui.form.TextField(); input.getContentElement().setAttribute("name", "username"); this.getRoot().add(input); A form tag should not be necessary, but you might try also setti

Re: [qooxdoo-devel] Autofill form fields

2014-12-11 Thread Fritz Zaucker
Hi Daniel, thanks for the reply. Thie seems not enough, though. Do the fields have to be inside a HTML ? I just placed them in a qx.ui.window.Window with a qx.ui.layout.Grid layout at the moment. Or anything else I have to do? I am submitting the username/password with qx.io.remote.Rpc.callAsyn

Re: [qooxdoo-devel] Autofill form fields

2014-12-11 Thread Daniel Wagner
Hi Fritz, you just have to give your field a "name" (or alternatively "id") attribute so the browser knows how to store the value: input.getContentElement().setAttribute("name", "username"); Regards, Daniel On 10.12.2014 23:32, Fritz Zaucker wrote: > Hi, > > is it possible to have Qooxdoo Tex