aspose file tools*
The moose likes Struts and the fly likes Linking a table to s:tree Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Linking a table to s:tree" Watch "Linking a table to s:tree" New topic
Author

Linking a table to s:tree

Rohit Rai
Ranch Hand

Joined: Aug 04, 2008
Posts: 53
Hi!

Does anyone know how to link a table to a tree created using s:tree
Say i am using the following code

<s:tree theme="ajax" id="root" label="Audit Test" showGrid="true">
<s:treenode theme="ajax" id="child9" label="<b>Project 9</b>" />
<s:treenode theme="ajax" id="child10" label="<b>Project 10</b>" />
</s:tree>

Now i want to link it to a table.
e.g.
Aduit Test Project Name Project Id
Project 9 test 1
Project 10 test1 2

So here the tree part will come using s:tree and the Project Name etc will be a html table or grid.
Thanks for any help,
Regards
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Linking a table to s:tree