/ widget.py / pwFormValue
- Form Value widget class
- This is used to encode information for processing by a form. It is implemented
by using hidden inputs
Arguments:
- obj: the object that contains the attribute we are "remembering"
- 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
Keyword:
- value: a specific value to encode as part of the hidden field
Default divClass: pwFormValue
Methods
|
|
|
display
|
display ( self, lvl )
|
|
__init__
|
__init__ (
self,
obj,
attr,
**kwlist,
)
|
|
|