Hello
Not sure if you could..
An idea would be to use AOP and instead of loading the menu from
The menu-config.xml you could load it from your database
That could be a possibility, since afaik the menu is always
Contained within MenuLoader (or something like that),so it's not read
>From menu-config.xml all the time
I guess the author (Matt Raible) would know better
Regards
marco
-----Original Message-----
From: news [mailto:[EMAIL PROTECTED] On Behalf Of Danny Lee
Sent: 19 January 2006 11:09
To: [email protected]
Subject: Re: menu system in front of a J2EE application
You can use Struts-Menu, it's sure is a good thing.
The only issue is, that you can't generate the first menu level
dynamically (or it's not easy).
So if you wan't to have something like:
Group 1
- Project 1
- Project 2
- Project 3
Group 2
- Project 1
- Project 2
- subproject 1
- Project 3
You have in mind, that you have to put the Groups in JSP, but
you can build the rest of the structure dynamically using DB or
some other information source.
Or if you don't need any automation, you just use XML, like described in
the S-Menu docs. That's real easy.
BTW Guys if someone of you knows how to build the first menu level
from the DB too, please write me!!! :)))
Cheers,
Danny
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]