Application Top Menus

You can declare menus using Spring XML configuration. 

For the top menus (main navigation items) you need only modify the existing topMenu Spring bean.

In the application-common-context.xml file:
 ...           
<property name="topMenu">         
<bean id="topMenu" 
  class="com.sybase365.mobiliser.util.tools.wicketutils.menu.SybaseMenu">           
<property name="entries">             
  <util:list>             
   <!-- SELFCARE TOP MENUS -->               
   <ref bean="consumerSelfCare" />               
   <ref bean="manageAccount" />               
   <ref bean="viewTransactions" />               
   <ref bean="billConfiguration" />                   
   <ref bean="myNewTopMenuItem" />       
... 
In the my-menus-context.xml file:
 ...         
<bean id="myNewTopMenuItem"
 class="com.sybase365.mobiliser.util.tools.wicketutils.menu.MenuEntry">       
 <property name="name" value="top.menu.my.new.menu" />       
 <property name="page" value="com.sybase365.mobiliser.web.dashboard.pages.home.MyMenuPage"/>       
 <property name="privilege" value="UI_DASHBOARD_LOGIN" />       
 <property name="active" value="true" />     
</bean>       
...