I have an external Method. How do I call PARENTS[-1] from it?
in dtml it would be: <dtml-in "PARENTS[-1].objectValues('Folder')">
I have tried something like:
self.PARENTS[-1].objectValues('Folder')
I have also checked if PARENTS get passed to the method like:
myMethod(self, PARENTS=None):
To get a list of the root's Folder's, but no luck.
Regards Max M
Max M. W. Rasmussen, Denmark. New Media Director
private: [EMAIL PROTECTED] work: [EMAIL PROTECTED]
-----------------------------------------------------
Specialization is for insects. - Robert A. Heinlein
_______________________________________________
Zope maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
(Related lists -
http://lists.zope.org/mailman/listinfo/zope-announce
http://lists.zope.org/mailman/listinfo/zope-dev )