This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes EJB and other Java EE Technologies and the fly likes Tree View Structure Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Tree View Structure" Watch "Tree View Structure" New topic

Tree View Structure

Nithya Venkatraman
Ranch Hand

Joined: Apr 11, 2004
Posts: 39
I need to develop/ use a tree view. It should be displayed in a jsp page..
The structure will somewhat look like this:

/ | \
/ | \
C1 C2 C3
/ | \ \ / | \
C1a C1b C1c C23a C3a C3b
A child can also have multiple parents
What can be done for this? Can I get the code/ component from somewhere? If not how can this be developed?? Or can I get some screen flow for this?

Nithya<br />SCJP(1.2), SCWCD(1.4)
Kyle Brown
Ranch Hand

Joined: Aug 10, 2001
Posts: 3892
This requires HTML and Javascript. Do do this, you can look here or here. A google search for "Tree menu" and "javascript" will turn up at least a half-dozen more sites with source.

Kyle Brown, Author of Persistence in the Enterprise and Enterprise Java Programming with IBM Websphere, 2nd Edition
See my homepage at for other WebSphere information.
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link:
subject: Tree View Structure
It's not a secret anymore!