Hi, How do I learn the path of an object given its id? actuallly I only want to know its parent folder name. Konstantinos Margaritis
<dtml-var "_.getitem(theId).absolute_url()"> ----- Original Message ----- From: "Konstantinos Margaritis" <markos@debian.org> To: <zope@zope.org> Sent: Tuesday, June 19, 2001 1:07 PM Subject: [Zope] test
Hi, How do I learn the path of an object given its id? actuallly I only want to know its parent folder name.
Konstantinos Margaritis
_______________________________________________ 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 )
test passed On Tue, 19 Jun 2001, Konstantinos Margaritis wrote:
Hi, How do I learn the path of an object given its id? actuallly I only want to know its parent folder name.
Konstantinos Margaritis
Oleg. ---- Oleg Broytmann http://www.zope.org/Members/phd/ phd@phd.pp.ru Programmers don't die, they just GOSUB without RETURN.
Konstantinos Margaritis wrote:
Hi, How do I learn the path of an object given its id? actuallly I only want to know its parent folder name.
Konstantinos Margaritis
<dtml-var expr="aq_parent.getId()"> will return the id of the parent of an object. -- | Casey Duncan | Kaivo, Inc. | cduncan@kaivo.com `------------------>
participants (4)
-
Casey Duncan -
Konstantinos Margaritis -
Oleg Broytmann -
Phil Harris