Package gluon :: Module html :: Class SELECT
[hide private]
[frames] | no frames]

Class SELECT

source code

  object --+            
           |            
XmlComponent --+        
               |        
             DIV --+    
                   |    
               INPUT --+
                       |
                      SELECT

Examples:

>>> from validators import IS_IN_SET
>>> SELECT('yes', 'no', _name='selector', value='yes',
...    requires=IS_IN_SET(['yes', 'no'])).xml()
'<select name="selector"><option selected="selected" value="yes">yes</option><option value="no">no</option></select>'
Instance Methods [hide private]
 
_fixup(self)
Handling of provided components.
source code
 
_postprocessing(self)
Handling of attributes (normally the ones not prefixed with '_').
source code

Inherited from INPUT: xml

Inherited from INPUT (private): _validate

Inherited from DIV: __delitem__, __getitem__, __init__, __len__, __nonzero__, __setitem__, __str__, append, element, elements, flatten, insert, sibling, siblings, update

Inherited from DIV (private): _setnode, _traverse, _wrap_components, _xml

Inherited from XmlComponent: __add__, __mul__, add_class, remove_class

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __subclasshook__

Class Variables [hide private]
  tag = 'select'

Inherited from DIV: regex_attr, regex_class, regex_id, regex_tag

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

_fixup(self)

source code 

Handling of provided components.

Nothing to fixup yet. May be overridden by subclasses, eg for wrapping some components in another component or blocking them.

Overrides: DIV._fixup
(inherited documentation)

_postprocessing(self)

source code 

Handling of attributes (normally the ones not prefixed with '_').

Nothing to postprocess yet. May be overridden by subclasses

Overrides: DIV._postprocessing
(inherited documentation)