[Zope] Limiting depth on object creation

Casey Duncan cduncan@kaivo.com
Wed, 14 Mar 2001 08:47:11 -0700


Oops, the DTML should be:

<dtml-with aq_parent only>
        <dtml-if depth>
                <dtml-return expr="depth() + 1">
        <dtml-else>
                <dtml-return expr="1">
        </dtml-if>
</dtml-with>

-- 
| Casey Duncan
| Kaivo, Inc.
| cduncan@kaivo.com
`------------------>