• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • paul wheaton
  • Ron McLeod
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:

Tree problem

 
Ranch Hand
Posts: 85
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Ranch Hand
Posts: 3640
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You can do this using JavaScript.

Post your code that generates Tree.
 
fahad siddiqui
Ranch Hand
Posts: 85
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Post your code between [CODE]tags.
[ October 18, 2006: Message edited by: Chetan Parekh ]
reply
    Bookmark Topic Watch Topic
  • New Topic