CVS commit: wiking/lib/wiking module.py

cerha at brailcom.cesnet.cz cerha at brailcom.cesnet.cz
Thu Nov 30 14:20:04 CET 2006


Update of /var/lib/cvs/wiking/lib/wiking
In directory cesnet:/tmp/cvs-serv5945/lib/wiking

Modified Files:
	module.py 
Log Message:
(WikingModule._TITLE)
(WikingModule._SINGULAR_TITLE, WikingModule._FIELDS)
(WikingModule._LAYOUT, WikingModule._LAYOUT_COLUMNS)
(WikingModule._TABLE, WikingModule._KEY, WikingModule._SORTING)
(WikingModule._CB_SPEC, WikingModule._COLUMNS)
(WikingModule._ACTIONS):Constants removed.
(WikingModule._PANEL_DEFAULT_COUNT, WikingModule._PANEL_FIELDS):
New constants.
(WikingModule.Object.__init__): New argument `view'.
(WikingModule.Object.__init__, WikingModule.Object.prow): New
method.
(WikingModule.View.__init__): New argument `resolver'.
(WikingModule.ListView.__init__): New argument `resolver'.
(WikingModule.spec): New method.
(WikingModule.data_spec, WikingModule.view_spec)
(WikingModule.binding_spec, WikingModule.cb_spec): Methods
removed.
(WikingModule.__init__): New argument `resolver'.  Use
`self.spec()' to get the `Specification' instance.  Get
specifications form this instance.  Don't translate sorting spec.
(WikingModule._form): New method.
(WikingModule._help): Method removed.
(WikingModule._document): Use `self._view.singular()' instead of
`self._view.layout().caption()'.
(WikingModule._list): Soppose `distinct()' to return a sequence of
`Value' instances.
(WikingModule.resolve): Pass `self._view' to the Object
constructor.
(WikingModule.panelize): New method.
(WikingModule.list): Include just a link to documentation, not hte
help text itself.
(WikingModule.list, WikingModule.show, WikingModule.add) 
(WikingModule.edit, WikingModule.remove): Use `self._form()'
instead of constructing the form directly.
(WikingModule.insert):  Pass `self._view' to the Object
constructor.



More information about the Wiking-cvs mailing list