/ widget.py / pwTextInput
- Text Input Widget
- The low-level input widget for text fields
Arguments:
- obj: the object that contains the attribute associated with this field
- attr: the name of the attribute
Common Keywords:
- divClass: allows the user to override the class of the
- fieldSpecial: allows the user to add "special" HTML attributes to the output element
- id: overrides the HTML "id" attribute
- selectable: controls whether this field is selectable or not
- inputType: mostly for internal use -- overrides the type designation in the output hidden fields
Keywords:
- length: the default length of the text field
- maxlength: the maximum length of the text field
- type: the type of the text field (text or password)
Default divClass: pwTextInput
Methods
|
|
|
display
|
display ( self, lvl )
|
|
__init__
|
__init__ (
self,
obj,
attr,
**kwlist,
)
|
|
|