8 Sep
2001
8 Sep
'01
7:18 p.m.
On Sat, Sep 08, 2001 at 12:11:22PM -0700, Zopista wrote:
except that PARENTS[-1] is the site root.. You're counting the wrong way.. PARENTS[1] (or is it PARENTS[0]?) would give you the container
I often forget which side is which :)
Or of course <dtml-in "aq_parent.objectValues('DTML Document)"> and then you dont need to worry about it being 0 or -1...
Wow! Excellent solution. Oleg. ---- Oleg Broytmann http://www.zope.org/Members/phd/ phd@phd.pp.ru Programmers don't die, they just GOSUB without RETURN.