File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 Java Interview Guide this week in the Jobs Discussion 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
It's not a secret anymore!