[Zope] How to know the number of parents of an element ???

Chris McDonough chrism@digicool.com
Wed, 24 May 2000 12:12:26 -0400


Errr... untested.. but should work.

<dtml-let a="_.len(PARENTS)">
...
</dtml-let>

> -----Original Message-----
> From: Frédéric QUIN [mailto:frederic.quin@free.fr]
> Sent: Wednesday, May 24, 2000 12:38 PM
> To: zope@zope.org
> Subject: [Zope] How to know the number of parents of an element ???
> 
> 
> Hi all,
> 
> 
> Is there any function or method to get the number of parents 
> of an element ?
> 
> 
> Thanks for your help,
> Frederic
> 
> 
> _______________________________________________
> 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 )
>