[Zope] Parents id of a specific object

Benoit DOMINIAK benoit.dominiak@makinacorpus.com
Wed, 18 Jul 2001 15:02:43 +0200


Hi,
Is there a way to get the id of an object's parent (container) ? I've tryed 
:
<dtml-with "_.getitem(object)">
<dtml-var "PARENTS[0].getId()">
</dtml-with>

but I always get the id of the ancestor of the published object. Just like 
the Zope book said !!

Any idea ?

_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.