hi,

i'm currently trying out the tapestry 5.3 new tree component and after
searched through and study the demo from :-

http://jumpstart.doublenegative.com.au/jumpstart/examples/component/treebrowse

i realized its a recursive tree which i'm not very good at. such that i
think there must be an easier way where the tree component can load the
result directly from xml document since its already hierarchical. anyway can
do this? i can travese the xml dom document with no problem; i just have no
idea how to load the data in it as a java object to be be rendered in t:tree
component.

my dummy data is:-
<sp spid="001" spname="ROOT">
        <sp spid="002" spname="JOHNNY">
                <sp spid="004" spname="KEN"/>
                <sp spid="005" spname="RYU"/>
        </sp>
        <sp spid="003" spname="ALEX">
                <sp spid="006" spname="BISON"/>
                <sp spid="007" spname="VEGA"/>  
        </sp>
</sp>

please advice
wesley

--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/how-to-load-Tapestry-5-3-data-with-xml-document-tp5576256p5576256.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to