On Fri, Jan 26, 2007 at 07:48:36PM +0100, David Johnson wrote: > When setting up container/contained relationships, what is the proper > approach? Is it the approach outlined in Stephan's book with > IContainer, __setitem__, and preconditions? Or is it "contains" and > "containers"?
contains() and containers() is a newer and prettier way to achieve the
same result. It didn't exist when Stephan's book was written.
> I have been having some problems and would be curious the definitive
> approach. The former is more complicated and so I find make lots of
> coding errors. The latter is simple but I find it causes strange
> IInputWidget errors.
Could you show us some code?
Marius Gedminas
--
"Nuclear war can ruin your whole compile."
-- Karl Lehenbauer
signature.asc
Description: Digital signature
_______________________________________________ Zope3-users mailing list [email protected] http://mail.zope.org/mailman/listinfo/zope3-users
