[Zope-dev] Python Product as DataSkin

Phillip J. Eby pje@telecommunity.com
Mon, 19 Feb 2001 01:59:56 -0500


At 10:47 PM 2/18/01 -0800, Michael R. Bernstein wrote:
>
>Hmm. So I need to refactor the 'manage_add' method inside
>the python product into two methods, 'manage_add' which
>would be used by the 'normal' object creation process and
>that would also call a second 'setup' method which could be
>called by the specialists 'myadd' method directly, bypassing
>the 'manage_add' method entirely.
>
>Is that correct?

Pretty much


>Is there anything else I would need to change?

Anything that carries any assumptions about the normal Zope management
creation process.  For example, manage_afterAdd is only called when a
DataSkin is added to a Folder, not a Rack.