[Zope] Problems accessing container properties at product creation time

Roy Mathew roymath at yahoo.com
Tue Apr 6 16:08:05 EDT 2004


--- robert rottermann <robert at redcor.ch> wrote:
> whil you are in a factory that creates your object it is not yet 
> "rooted" in the zodb. It is not yet a "real" object.
> However in the manage_afterAdd method which you must override  in your 
> class you can do as you please.
> Robert

Thanks for the tip, Robert.
I did also notice that if I did the following (right after _setObject()):

  ob = container._getOb(id)

and worked with the "ob" handle, I could access properties
in the container. I can't say I understand why :(

Roy.


__________________________________
Do you Yahoo!?
Yahoo! Small Business $15K Web Design Giveaway 
http://promotions.yahoo.com/design_giveaway/



More information about the Zope mailing list