Package web2py :: Package gluon :: Module sqlhtml :: Class PasswordWidget
[hide private]
[frames] | no frames]

Class PasswordWidget

source code

object --+    
         |    
FormWidget --+
             |
            PasswordWidget

Instance Methods [hide private]

Inherited from object: __delattr__, __getattribute__, __hash__, __init__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__

Static Methods [hide private]
 
widget(field, value, **attributes)
generates a INPUT password tag.
source code

Inherited from FormWidget (private): _attributes

Class Variables [hide private]
  DEFAULT_PASSWORD_DISPLAY = '********'
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

widget(field, value, **attributes)
Static Method

source code 

generates a INPUT password tag. If a value is present it will be shown as a number of '*', not related to the length of the actual value.

see also: :meth:`FormWidget.widget`
Overrides: FormWidget.widget