Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Multiple menu-config.xml files  RSS feed

 
Thilina Annakkage
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I like to have several menu-config.xml files, one for each module in my application. I wonder whether it is possible to achieve this.

I tried several ways, and I get XML parser error.

Here is what I tried.

In web.xml,
<context-param>
<param-name>menuConfigLocation</param-name>
<param-value>
/WEB-INF/module1/menu-config-module1.xml
/WEB-INF/module2/menu-config-module2.xml
</param-value>
</context-param>

<listener>
<listener-class>net.sf.navigator.menu.MenuContextListener</listener-class>
</listener>

Is it possible to have separate menu-config.xml for each module?
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!