This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Java Interview Guide and have Anthony DePalma on-line!
See this thread for details.
The moose likes Struts and the fly likes Tree using <s:tree> and <s:treenode> tags 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 "Tree using <s:tree> and <s:treenode> tags" Watch "Tree using <s:tree> and <s:treenode> tags" New topic

Tree using <s:tree> and <s:treenode> tags

sunny choudhary

Joined: Mar 04, 2009
Posts: 6

I am using Struts2 latest version.
I have created a tree structure using <s:tree> and <s:treenode> tags in left navigation frame of the page.
My requirement is to invoke an action if I click on any treenode (child) and as a result the response must be displayed in the main frame.

The tree is created but I am not able to give an action on any treenode. can anyone help me in how i can provide an action to a treenode.

Any help will be highly appreciated.

I agree. Here's the link:
subject: Tree using <s:tree> and <s:treenode> tags
It's not a secret anymore!