Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

dynamic tree structure with struts  RSS feed

 
naren ramanujam
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
My need is treestructure to be created dynamically.

can any one plz. help me
 
Merrill Higginson
Ranch Hand
Posts: 4864
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I use hierarchical trees a lot in my applications. The way I do it is to start with an existing JavaScript tree package such as TreeMenu. When I want to create a tree structure to be displayed, I write Java code that will generate the JavaScript code necessary to build the tree using my dynamic data. I just call the JavaScript APIs of the tree package I'm using.

There are a lot of free or nearly free JavaScript tree packages out there. Just Google "JavaScript tree" and you'll see a lot of them.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!