Home | Trees | Indices | Help |
|
---|
|
object --+ | base.Widget --+ | base.CompoundWidget --+ | object --+ | | | base.Widget --+ | | | InputWidget --+ | CompoundInputWidget --+ | RepeatingInputWidget
Base class for a compound widget which can be repeated.
Nested Classes | |
Inherited from |
Instance Methods | |||
|
|||
|
|||
|
|||
|
|||
Inherited from Inherited from Inherited from Inherited from |
Class Variables | |
repeating = True
|
|
params =
|
|
params_doc =
|
|
repetitions = 1
|
|
Inherited from Inherited from Inherited from |
Properties | |
Inherited from Inherited from Inherited from |
Method Details |
Update the template parameters. This method will have the last chance to update the variables sent to the template for the specific request. All parameters listed at class attribute 'params' will be available at the 'params' dict this method receives. *Must* call super(MyWidget, self).update_params(params) cooperatively, unless, of course, your know what you're doing. Preferably this should be done before any actual work is done in the method.
|
Return the value for a child widget. ``item`` is the child widget instance or it's name, ``value`` is a dict containing the value for this compound widget.
|
Return the parameters for a child widget. ``item`` is the child widget instance or it's name, ``params`` is a dict containing the parameters passed to this compound widget.
|
Convert list of values into a list of dicts suitable for propagating values to child widgets. If value is a list of dicts it will pass through, if it's another kind of object, attributes which match child widgets' names will tried to be fetched.
|
Class Variable Details |
params_doc
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Thu Jul 14 21:45:38 2011 | http://epydoc.sourceforge.net |