2.5.3. Application Menu

At the moment of their creation, the screens were added to the application menu item of the default application menu. Let’s rename it. Switch to the Generic UI section of CUBA project tree and open Web Menu. The web-menu.xml descriptor will open.

Change the menu identifier from application-sales to shop either from code or in the visual designer on the Structure tab.

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<menu-config xmlns="http://schemas.haulmont.com/cuba/menu.xsd">
    <menu id="shop" insertBefore="administration">
        <item screen="sales_Customer.browse"/>
        <item screen="sales_Order.browse"/>
    </menu>
</menu-config>

Then, open the messages.properties file in the Main Message Pack section and modify the old caption of the menu item:

menu-config.shop = Shop