Hey,
this is not supported by default. The password field ueses a different input
type as the textfield. But you can manipulate the dom element by using the
qooxdoo html wrapper:
passwordField.getContentElement().setAttribute("type", "text");
With that, you change the password field into a textfield. With the value
"password" you change it back to a password field.
Regards,
Martin
Am 19.09.2010 um 21:55 schrieb marginal:
>
> I'd like to create form with password field and make them visible by clicking
> checkbox. Is there a hidden property or something for
> qx.ui.form.PasswordField to make entered password visible?
>
>
> ...
> // password field with special case
> this.accPassword = new qx.ui.form.PasswordField();
> this.accPassword.setAllowGrowX(false);
> this.accPassword.setWidth(150);
>
> var composite = new qx.ui.container.Composite();
> composite.setLayout(new qx.ui.layout.HBox(10));
> composite.add(this.accPassword);
>
> var check = new qx.ui.form.CheckBox("show");
> check.addListener("changeValue", function () {
> /* do something here to make password in this.accPassword element
> visible */
> }, this );
> composite.add(check);
>
> this.add(composite, { row:1, column:1 });
> ...
>
> --
> View this message in context:
> http://qooxdoo.678.n2.nabble.com/Password-field-issue-tp5548399p5548399.html
> Sent from the qooxdoo mailing list archive at Nabble.com.
>
> ------------------------------------------------------------------------------
> Start uncovering the many advantages of virtual appliances
> and start using them to simplify application deployment and
> accelerate your shift to cloud computing.
> http://p.sf.net/sfu/novell-sfdev2dev
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel