Package orm2 :: Package ui :: Package xist :: Module widgets :: Class text
[hide private]
[frames] | no frames]

Class text

source code

 widget --+        
xist_widget --+    
         _input --+
Known Subclasses:
datetime_input, hidden, utext, textarea

Nested Classes [hide private]

Instance Methods [hide private]
  __init__(self, empty_to_none=False, **kw)
  __call__(self, dbobj, **kw)

Inherited from xist_widget: belongs_to

Inherited from widget: __cmp__, __init_dbproperty__

Method Details [hide private]

__init__(self, empty_to_none=False, **kw)

source code 
  • mapping - A list of pairs as ( 'identifyer', u'title', ) that will be used to create the widget.
  • sort - Boolean value that determins if the mapping will be sorted by its title component before any HTML is created from it.
Overrides: widget.__init__

__call__(self, dbobj, **kw)
(Call operator)

source code 
Overrides: widget.__call__