At 00:23 03/08/99 , 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')" nowrap='1' assume_children='0' 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?
What does 'navigate_filter' do? 'id=Outline' means that the property or method 'Outline' provides for the unique id for each object displayed in the tree. Is this your intention? You can omit the asume_children attribute, and just placing 'skip_unathorized' (without the ='1') will do. The same goes for 'nowrap': <!--#tree id=Outline branches_expr="navigate_filter('private', 'no', ['Folder', 'File', 'DTML Document'], '0')" nowrap skip_unauthorized--> -- Martijn Pieters, Web Developer | Antraciet http://www.antraciet.nl | Tel: +31-35-7502100 Fax: +31-35-7502111 | mailto:mj@antraciet.nl http://www.antraciet.nl/~mj | PGP: http://wwwkeys.nl.pgp.net:11371/pks/lookup?op=get&search=0xA8A32149 ------------------------------------------