File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Tree problem

 
fahad siddiqui
Ranch Hand
Posts: 85
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a tree on my jsp. the tree branches to multiple child and so on upto n-level.

Now, a parent can have multiple child but every child must have a single parent. I hope the structure of the tree is understand. its a simple tree.
Every node contains its own id and its parent id.

I want to select a certain sequence of tree. I do this by providing checkboxes. But out of so many trees available, i need the 2 checkbox selections to be on any single sequence of tree.

How do i manage this?

Please ask for clarifications if required and provide a solution.
 
Chetan Parekh
Ranch Hand
Posts: 3640
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can do this using JavaScript.

Post your code that generates Tree.
 
fahad siddiqui
Ranch Hand
Posts: 85
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am not able to post the code . its giving the error of < but is have removed all the "<" from the code
 
Chetan Parekh
Ranch Hand
Posts: 3640
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Post your code between [CODE]tags.
[ October 18, 2006: Message edited by: Chetan Parekh ]
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic