[Zope] recursive folder listing

wazum-mail (wolfgang) wolfgang@wazum.com
Thu, 19 Jul 2001 21:13:39 +0200


hiya!

I can't solve this problem ... hmmm .. 

I need a menu in a select list with
all folders listed that have an attribute called
"in_the_list" (boolean, 1)

this dtml method ("list_values") is called from
another dtml method and calls itself recursively:

<dtml-in "objectValues (['Folder'])" skip_unauthorized>
  <dtml-if "_.hasattr(_['sequence-item'], 'in_the_list')">
    <option value="<dtml-var "absolute_url()">"><dtml-var title_or_id>
    <dtml-with sequence-item only>
      <dtml-var list_values>
    </dtml-with>
  </dtml-if>
</dtml-in>

but this doesn't work ...
I think this is an aquisition problem (?) but I'm not
able to solve it ...

your help is highly appreciated!

thx & tia

Wolfgang

-----------------------------------
wazum-mail ;-) (wolfgang@wazum.com)
url ( http://www.wazum.com/ )