Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Multiple menu-config.xml files

 
Thilina Annakkage
Greenhorn
Posts: 27
  • 0
  • 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?
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic