[Laszlo-dev] Tree does not work properly on my local Openlaszlo 3.0.
Juan Carlos Orozco
jorozconews at acelab.com
Fri Jun 3 05:59:06 PDT 2005
Hi All,
I was wondering if someone could help me figure out what is wrong with
my local OpenLaszlo 3.0:
The next code works fine when I try it using the Laszlo In Ten Minutes
Laszlo XML editor from laszlosystem website:
http://www.laszlosystems.com/lps/laszlo-in-ten-minutes/
But it does not work properly when I try it from my local installation
using Openlaszlo 3.0
26-Apr-05 for Windows XP.
The tree in the first tab only shows 2 levels (i.e. it does not display
the leafs or file names).
The tree on the second tab (which is the same as the first one) does
work properly.
What version of Laszlo is executing at
http://www.laszlosystems.com/lps/laszlo-in-ten-minutes/ ?
Thanks, Juan Carlos
Code:
<canvas>
<include href="lz/tree.lzx" />
<dataset name="dir_tree">
<node name="Dir1">
<node name="Dir1_1">
<node name="Dir1_1_1">
<node name="File1" file="true" />
</node>
<node name="FileA" file="true" />
<node name="FileB" file="true" />
</node>
<node name="Dir1_2">
<node name="FileC" file="true" />
<node name="FileD" file="true" />
</node>
</node>
</dataset>
<view>
<tabs>
<tabpane text="Tab1">
<tree datapath="dir_tree:/" icon="null" showroot="false">
<tree datapath="*" icon="null" text="$path{'@name'}"
isleaf="$path{'@file'}">
</tree>
</tree>
</tabpane>
<tabpane text="Tab2">
<tree datapath="dir_tree:/" icon="null" showroot="false">
<tree datapath="*" icon="null" text="$path{'@name'}"
isleaf="$path{'@file'}">
</tree>
</tree>
</tabpane>
</tabs>
</view>
</canvas>
--
Juan Carlos Orozco
ACElab Automation
http://www.acelab.com
More information about the Laszlo-dev
mailing list