File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 Android Security Essentials Live Lessons this week in the Android 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
Similar Threads
Problem in giving action on tree created using <s:tree> tag
Ajax tag is not working in strus2.1.6 with eclipse editor
getting a selected node in a tree
Linking a table to s:tree
Doubts In struts tree(tree attribute refers which tld file in struts)