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 setting the
"autocomplete" attribute to "on", although that should be the default.


Regards,
Daniel

On 11.12.2014 22:54, Fritz Zaucker wrote:
> Hi Daniel,
> 
> thanks for the reply. Thie seems not enough, though. Do the fields have to
> be inside a HTML <form></form>? 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.callAsync().
> 
> Ideally the username/password would be filled in by the browser when the
> login window appears ...
> 
> Cheers,
> Fritz
> 
> On Thu, 11 Dec 2014, Daniel Wagner wrote:
> 
>> 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 TextFields filled automatically by the
>>> browser? Like on a login screen the username and password field?
>>>
>>> I am using a qx.ui.window.Window() with a qx.ui.form.TextFields() and a
>>> qx.ui.form.PasswordField(), but they are not filled when the application is
>>> started.
>>>
>>> Thanks,
>>> Fritz
>>>
>>
>> ------------------------------------------------------------------------------
>> Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
>> from Actuate! Instantly Supercharge Your Business Reports and Dashboards
>> with Interactivity, Sharing, Native Excel Exports, App Integration & more
>> Get technology previously reserved for billion-dollar corporations, FREE
>> http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
>> _______________________________________________
>> qooxdoo-devel mailing list
>> qooxdoo-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>>
>>
> 

------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to