[Zope] tree won't work... :-(

Sven Kirmess Sven Kirmess <sven.kirmess@gmx.net>
Sat, 4 Sep 1999 02:37:13 +0200


I'd like to use the tree tag for squishdot.

-------------------------------------------------------------

<!--#var standard_html_header-->

<!--#call "REQUEST.set('desc_items_filtered',[])"-->

<!--#in desc_items -->
 <!--#if "level < 1" -->
  <!--#call "REQUEST.desc_items_filtered.append(_['sequence-item'])"-->
 <!--#/if -->
<!--#/in-->

<!--#tree branches=desc_items_filtered -->
  <!--#var id--> <!--#var level-->
<!--#/tree-->

<!--#var standard_html_footer-->

-------------------------------------------------------------

The following example doesn't work. I don't get a tree. When I change
it to

<!--#tree branches=desc_items -->
  <!--#var id--> <!--#var level-->
<!--#/tree-->

I get a tree, but with all items and "subitems" in the base...

Why does the "<!--#tree branches=desc_items_filtered -->" not work?


-------------------------------------------------------------
<!--#var desc_items -->

[<Article instance at 65dfe8>, <Article instance at 65d100>, <Comment instance at 65d448>, <Article instance at 697088>, <Comment instance at 616380>, <Article instance at 6946c8>, <Comment instance at 5ff630>, <Comment instance at 699ef0>, <Comment instance at 6184c8>, <Comment instance at 695c18>, <Comment instance at 621448>, <Article instance at 6970b0>, <Article instance at 693f48>, <Comment instance at 60db90>, <Article instance at 646a98>]
-------------------------------------------------------------


  

 Sven

-- 
PGP-Key-ID: 0x881BF222