Re: dynamic database tree menu

thogau <[email protected]>
Newsgroups gmane.comp.java.struts-menu.user
Message-ID <[email protected]>
Hi Vicky, check my tutorial I think it is what you need ;)

http://www.thogau.net/page/thogau/tutorial02

thogau


Vicky wrote:
> I haven't used struts menu yet but after reading a bit
> about it seems like struts tree menu might be helpful
> in my case. 
> 
> I need to create tree menu dynamically from database.
> i am using hibernate as persistence layer. Based on
> the requirement I need to build tree menu from db.
> Whatever node or leaf has focus, if user clicks on one
> of my "Create xyz" button it should create new element
> underneath selected node or leaf in database. How do I
> remember which node, leaf is currently selected to
> submit my insert query for newly created element and
> pass selected node, leaf as parentId. Has anybody
> implemented something similar to this? I would
> appreciate response with example, link.
> 
> Thanks,
> 
> 
> 
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around 
> http://mail.yahoo.com 
> 
> 
> -------------------------------------------------------
> This SF.Net email is sponsored by Oracle Space Sweepstakes
> Want to be the first software developer in space?
> Enter now for the Oracle Space Sweepstakes!
> http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click



-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.