
|
If you were logged in you would be able to see more operations.
|
|
|
|
Environment:
|
Windows XP, Tomcat 6x, Struts-Menu 2.4.3, Java 1.6x, Internet Explorer, Struts 2x
|
|
|
I've been trying to integrate the Struts-Menu into Struts 2 and I've hit a lot of roadblocks. As of now, the outstanding issue is how to configure the resource bundle for Struts 2 to read the properties. Not only how to configure it, but where to place the properties file so that the framework will use it properly.
There's a brief description on how to use the menu with Struts 2, but could a more detailed explanation be created?
|
|
Description
|
I've been trying to integrate the Struts-Menu into Struts 2 and I've hit a lot of roadblocks. As of now, the outstanding issue is how to configure the resource bundle for Struts 2 to read the properties. Not only how to configure it, but where to place the properties file so that the framework will use it properly.
There's a brief description on how to use the menu with Struts 2, but could a more detailed explanation be created?
|
Show » |
Sort Order:
|
Save the DisplayerStrings.properties in the package com.mypackage.
Reference it as such:
<menu:useMenuDisplayer name="DropDown" config="com.mypackage.DisplayerStrings">
<menu:displayMenu name="FileMenu"/>
<menu:displayMenu name="EditMenu"/>
</menu:useMenuDisplayer>