Home | Trees | Indices | Help |
|
---|
|
view --+ | xist_view --+ | xist_form
|
|||
|
rows(self) Return a list that contains ll.xist.Node objects and _xist_widget object. |
||
|
widgets(self) Return a list of widgets in this form (i.e. |
||
|
set_from_request(self,
ignore_if_unset=True) Call the set_from_request() method of every widget. |
||
|
error_message(self,
widget,
exception) Return an error message for when widget raised ValidatorException exception. |
||
| __call__(self, errors={}, **kw) | ||
Inherited from |
|
Return a list that contains ll.xist.Node objects and _xist_widget object. The nodes will be passed into the form as-is, the widgets will be initialized according to form usage, either with the values from the request+errors (on failed submits), values from the dbobject (display for a modification) or the defaults (for a new dbobject). This default implementation will return all the widget_specs that are xist widgets from the dbclass. |
|
Call the set_from_request() method of every widget. Catch validator exceptions and process them into error messages using the error_message() function. Return a dictionary as { 'param_name', [ error1, error2, ..., errorn ] } An empty dict means successful submition ;-) |
|
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0alpha3 on Wed Feb 20 18:17:31 2008 | http://epydoc.sourceforge.net |