[prev in list] [next in list] [prev in thread] [next in thread] 

List:       zope
Subject:    RE: [Zope] Finding PARENTS in an external method.
From:       "Max M" <maxmcorp () worldonline ! dk>
Date:       2000-11-30 23:40:23
[Download RAW message or body]

Thank you...

just what the doctor ordered.

It was the passing of PARENTS that did the trick I was looking for.

Regards maxm

Max M. W. Rasmussen,    Denmark.   New Media Director
private: maxmcorp@worldonline.dk work: maxm@normik.dk
-----------------------------------------------------
Specialization is for insects.  -  Robert A. Heinlein

-----Original Message-----
From: michael angelo ruberto [mailto:michaelangelo@webmind.com]

i tried this and it works. the output is pretty ugly if you return it to
Zope though. maybe someone knows how to clean it up.

def index(self, PARENTS, REQUEST):
n = PARENTS[0].objectItems(['File','DTML Document','Folder','ListMate','DTML
Method'])

	n.sort()


_______________________________________________
Zope maillist  -  Zope@zope.org
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 )

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic