aspose file tools*
The moose likes JSF and the fly likes How to persist parent and child tree node data through JSF and  hibernate Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSF
Bookmark "How to persist parent and child tree node data through JSF and  hibernate" Watch "How to persist parent and child tree node data through JSF and  hibernate" New topic
Author

How to persist parent and child tree node data through JSF and hibernate

mara thamizhan
Ranch Hand

Joined: Jul 05, 2006
Posts: 74
Dear dudes,
I'm a novice to JSF and Hibernate
Actually i want to create a tree structure where for each child node, i should have the parent node reference in my form and then when i save, i need to save the corresponding child node data in the database.

node-1
node 1-1
node 1-11a
node 1-2
node-2
node 2-1
node2-2

Whenever i click node 1-1 the corresponding parent node ( node-1) reference should appear in my form and when i save this data this data should be saved under parent node and the tree should be re-rendered.

How this can be accomplished and if there are any URL's please refer.
mara thamizhan
Ranch Hand

Joined: Jul 05, 2006
Posts: 74
Could anyone please reply?
mara thamizhan
Ranch Hand

Joined: Jul 05, 2006
Posts: 74
why nobody has worked in tree structure till now?
If yes,then it's okay?
What stops you from replying?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to persist parent and child tree node data through JSF and hibernate