Help requested.

I have a tree defined as such:
        <tree datapath="dsgoallist:/goals" icon="null" showroot="false">
<tree datapath="goal" icon="null" text="$path{'@description'}" isleaf="$path{'@isleaf'}">
                </tree>
        </tree>

When I have the following XML:
<goals>
        <goal id="12" active="true" description="asdfasdf" isleaf="false">
                <goal id="13" active="true" description="asdfasdfs" 
isleaf="true">
                </goal>
        </goal>
</goals>

Then only one node is displayed (note it should be displaying a child node):

<<attachment: nodewithoutchild.jpg>>


However, if at any point in time, if I refresh the datasource with an XML document that defines two top-level goal nodes (not root, but one level down) like the following XML:

<goals>
        <goal id="4" active="true" description="Vsiion" isleaf="false">
                <goal id="9" active="true" description="adsf" isleaf="true">
                </goal>
                <goal id="11" active="true" description="asdfasdf" 
isleaf="true">
                </goal>
                <goal id="5" active="true" description="avu" isleaf="true">
                </goal>
        </goal>
        <goal id="14" active="true" description="zxcv" isleaf="false">
                <goal id="15" active="true" description="zxcvsdaf" 
isleaf="true">
                </goal>
        </goal>
</goals>

then it displays it correctly:

<<attachment: twonodes.jpg>>


and then correctly displays the nodes when the original XML is refreshed:

<<attachment: nodewithchild.jpg>>


Any ideas on what the problem is?

Sincerely,
Ron Lancaster

_______________________________________________
Laszlo-user mailing list
[email protected]
http://www.openlaszlo.org/mailman/listinfo/laszlo-user

Reply via email to