[Zope] How do I check for existence of a page?
Jérôme Loisel
jerome@levinux.org
Wed, 28 Feb 2001 20:51:48 -0500
Hi,
Incidentally, to check for the existence of object_id in folder, I sometimes
do something like this:
<dtml-if "object_id in folder.objectIds()">
blah
</dtml-if>
Not the canonical way to do it, and I am completely unaware of what hidden
implications I might face, so YMMV... The code is more legible, though.
Cheers,
Jérôme Loisel
--
Jérôme Loisel
Lévinux: GNU/Linux dans les communautés à Lévis