| Home | Trees | Indices | Help |
|
|---|
|
|
widget.actual_widget --+
|
xist_widget.actual_widget --+
|
_input.actual_widget --+
|
text.actual_widget --+
|
datetime_input.actual_widget
|
|||
|
__init__(self,
dbobj,
dbproperty,
empty_to_none,
format,
target_cls,
**kw) @param dbobj: The dbobj whoes property is to be displayed by this widget @param errors: Dict that contains the error messages from the last commit. |
||
|
value(self) If the current request contains a value for our form element's name, return that value, otherwise get it from the dbobj. |
||
|
get_from_request(self,
use_default=False) Check the request for a parameter with this widget's name attribute. |
||
|
Inherited from Inherited from |
|||
|
|||
|
Inherited from |
|||
|
|||
@param dbobj: The dbobj whoes property is to be displayed by this widget @param errors: Dict that contains the error messages from the last commit. @param name: The name attribute of the HTML <input> (or so) element that will be created by this. Defaults to dbclass.attribute, which will do for most circumstances... A regular String. @param title: Will overwrite the datatype.title attribute for the widget's caption. Unicode string required. @param help: Help text that will be displayed along with the widget. May be a XIST element, of course, but you may not want to use block level elements in it. @param default: Unicode String or other Python object suitable to determine the default setting for this widget if dbobj is None (see widget() below) The key word arguments may be used to pass arbitrary attributes to the widget element.
|
|
|
| Home | Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0alpha3 on Wed Feb 20 18:17:31 2008 | http://epydoc.sourceforge.net |