[Zope] How to write a ZClass constructor method in PythonScript?

Chris Withers chrisw@nipltd.com
Wed, 21 Feb 2001 14:43:23 +0000


Dirksen wrote:
> 
> I think the PythonScript verion is equivalent to the DTML verion. But in the experiment,
> the PythonScript complains that B is not a attribute of the container, i.e. an instance
> of ZClass A, while the DTML works fine. Why is the ZClass definition not exposed to
> PythonScript? Any hints please!

Try changing container to context and see if you have any more luck...

cheers,

Chris