Kevin Dangoor wrote:
----- Original Message ----- From: "Bill Anderson" <bill.anderson@libc.org> To: "Zope-Dev" <zope-dev@zope.org> Sent: Friday, February 18, 2000 7:47 PM Subject: [Zope-dev] Quick request! :)
I need to do this: "PARENTS[0].objectValues('Foo Object')" in python.
Wouldn't this just be:
self.objectValues('Foo Object')
Yup. :) Took a short change of view to realize it, of course.
OK, another one. I think I know the answer, bur calrification is nice :) If in a ZClass I am subclassing from ObjectManager, how would I subclass that in python?
Not sure on this one. It's probably just class YourClass(ObjectManager), but I'm not sure where you import that from. (You might take a look in lib/python/OFS for hints).
Thanks, I'll look there.
Close to a release of a new toy ... :)
Toys are good :)
<dtml-voice macho_man> Ohhhh yeah! </dtml-voice> -- In flying I have learned that carelessness and overconfidence are usually far more dangerous than deliberately accepted risks. -- Wilbur Wright in a letter to his father, September 1900