[OGo-Developer] adding search save and create tab to document search in projects
Helge Hess
developer@opengroupware.org
Mon, 17 Sep 2007 15:08:41 +0200
On 17.09.2007, at 14:52, Sebastian Reitenbach wrote:
> I am in SkyProject4Viewer.m, this one has no -prepare method.
> Thanks for the hint, I need to find out, how this prepare works...
Might be called something like -activate... too. (I think prepareXYZ
stuff is oldstyle, -activateXYZ is new style).
Activation in OGo works like this: you always have an object and a
verb. Eg an EOKeyGlobalID which addresses a project and 'view' or
'edit' as the verb.
Such an object/verb combination is mapped to a WOComponent subclass
in the bundle-info.plist.
Then, when the user 'activates' an object, the WOComponent is located
and instantiated (the latter calls the -init thing). After that the
component is 'activated' with the object/verb (this fills the
component with the object).
http://www.opengroupware.org/en/devs/docs/snippets/WebUI/activation.html
Helge
--
Helge Hess
http://www.helgehess.eu/