[Zope] Problem with tree and navigate_filter
Andreas Kostyrka
andreas@mtg.co.at
Tue, 3 Aug 1999 09:55:26 +0200 (CEST)
On Mon, 2 Aug 1999, Carlos Henrique Bauer wrote:
> Hi,
>
> I have an DTML method with the following code:
>
> <!--#tree
> id=Outline
> branches_expr="navigate_filter('private', 'no',['Folder','File','DTML Document'],'0')"
Again: '0' is TRUE for python. Use 0. Or leave it at the default.
> nowrap='1'
> assume_children='0'
Try: assume_children=0 or assume_children=''
Python does interpret an empty string or a zero number as false ;)
> skip_unauthorized='1'
> -->
> :
> :
> <!--#/tree-->
>
> The tree is inserting a plus icon in front of empty folders and file documents.
> If I click on that icon it expands the tree. In the case of the empty folder I
> get something like:
>
> - Empty folder
> - Empty folder
> + Empty folder
>
> In the case of a document:
>
> - folder
> + file 1
> - file 2
> + file 1
> + file 2
>
> Any ideas?
>
> --
> Carlos Henrique Bauer
>
> _______________________________________________
> Zope maillist - Zope@zope.org
> http://www.zope.org/mailman/listinfo/zope
>
> (To receive general Zope announcements, see:
> http://www.zope.org/mailman/listinfo/zope-announce
>
> For developer-specific issues, zope-dev@zope.org -
> http://www.zope.org/mailman/listinfo/zope-dev )
>
--
Andreas Kostyrka | andreas@mtg.co.at
phone: +43/1/7070750 | phone: +43/676/4091256
MTG Handelsges.m.b.H. | fax: +43/1/7065299
Raiffeisenstr. 16/9 | 2320 Zwoelfaxing AUSTRIA