Hi,
We have used struts menu using Velocity to load the menus.
Please find the snippet of code as below,
<Item name="menu.cug.general" title="menu.cug.general.title" description="Content Management Menu" roles="@MANAGE_STATIC_CONTENT@,@MANAGE_SYSTEM_CONFIGURATION@" >
<Item name="menu.staticContent" title="menu.staticContent.title" forward="menu.staticContent.list" roles="@MANAGE_STATIC_CONTENT@"/>
<Item name="menu.systemConfiguration" title="menu.systemConfig.title" forward="menu.systemConfig.page" roles="@MANAGE_SYSTEM_CONFIGURATION@"/>
</Item>
from above : item "menu.cug.general" is loaded when the user has either of the roles "@MANAGE_STATIC_CONTENT@,@MANAGE_SYSTEM_CONFIGURATION@.
this is working. but the below conditions are not working
item "menu.staticContent" will load for the user with role "@MANAGE_STATIC_CONTENT@" alone and
item "menu.systemConfiguration" will load for the user with role "@MANAGE_SYSTEM_CONFIGURATION@" alone.
Please guide me to solve the issue. Do reply me ASAP.
Thanks in advance,
S.Priyadharshini