This week's book giveaway is in the OCAJP 8 forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line!
See this thread for details.
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

Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Linking a table to s:tree" Watch "Linking a table to s:tree" New topic

Linking a table to s:tree

Rohit Rai
Ranch Hand

Joined: Aug 04, 2008
Posts: 53

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>" />

Now i want to link it to a table.
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,
I agree. Here's the link:
subject: Linking a table to s:tree
jQuery in Action, 3rd edition