[Zope] Equality test: if sequence-item = document id [excessive recursion error]

Michel Pelletier michel@digicool.com
Fri, 1 Jun 2001 09:51:34 -0700 (PDT)


On Fri, 1 Jun 2001, Garry Steedman wrote:

Try:

> <DIV CLASS=navigation VALIGN="top">
> <dtml-let this_id=id>
> <dtml-in "PARENTS[0].objectValues('DTML Document')"
> sort=menu_sort_order>
> <dtml-if "hasProperty('menu_sort_order')">
> <dtml-if expr="_['sequence-item'].getId()==this_id">
                                   ^^^^^^^^
                                   ^^^^^^^^
-Michel