/ widget.py / pwCountrySelector
- Country selector
- The country selector inherits from pwSelector and displays the list of countries for a selection. See pwSelector
for keywords
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
pwThreeColumn Keywords:
- caption: the caption to be displayed in the "caption" area of the three columns. This may be
either text or a widget.
- help: help HREF associated with the caption
- example: the example to be displayed in the "example" area of the three columns. This may be either
text or a widget.
- layout: directs which layout approach to take: pure css or table + css
- layoutID: the ID to associate with the layout. Allows for different ID's between layout and content widgets.
- idArg: overrides the widget id
- visibility: is this widget visible? Used to allow content to "appear" depending on the action of other widgets.
pwSelectInput Keywords:
- multiple: if "true", this is a multiple selector rather then a single selector
- header: if present, this is a header to be displayed above the selector
- size: if a multiple selector, how many items should be displayed
- hiddenFields: if "false" do not include hiddenFields for this selector
- onclick: a javascript action to perform when a selection is made
Default divClass: pwCountrySelector
Methods
|
|
|
__init__
|
__init__ (
self,
obj,
attr,
**kwlist,
)
Override the constructor (we don't use the selList)
|
|
|