Moved from
http://sourceforge.net/tracker/index.php?func=detail&aid=1468182&group_id=48726&atid=453974:
The only resource for menu definition loading is a
static file xml. My propose is to allow other resources
like databases, files properties, with specific datas
for each user.
Solution: Separate Repository from XML loading.
A database loading example:
1) create new MenuContextListener
2) In this MenuContextListener, convert data between
data base and struts menu api objects.
3) Put these objects in Repository class and put
Repository class in SessionContext.
[]´s
Rodrigo di Lorenzo Lopes