On Sunday 28 January 2007 06:32, David Johnson wrote:
> This I know, so that is exactly my question. What is the preferred
> approach in Zope? The contains and containers, or the more explicit
> methods?
contains() and containers()
Regards,
Stephan
--
Stephan Richter
CBU Physics & Chemistr
This I know, so that is exactly my question. What is the preferred
approach in Zope? The contains and containers, or the more explicit
methods?
On Jan 26, 2007, at 11:04 PM, Douglas Douglas wrote:
I think the errors are for the contained objects (the ones with
'containers'
instructions o
Here is an example that gives me the IInputWidget errors when I use
the contains/containers approach:
...interfaces.py...
class ICRM(IContainer):
"""Just a blank container to hold customers."""
contains('.ICustomer')
class ICustomer(IContainer,IContained):
"""A basic customer."""
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"?
contain
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"?
I have been having some problems and would be curious the definitive
approa