Why am I not seeing the “Reports” menu item in my deployed web-app ?
It works in Development mode but not when deployed to Single WAR file.
What controls the visibility when deploying ?
Why am I not seeing the “Reports” menu item in my deployed web-app ?
It works in Development mode but not when deployed to Single WAR file.
What controls the visibility when deploying ?
Never mind.
I realized that report component has to be included in list of appComponents within web.xml for example :
<context-param>
<param-name>appComponents</param-name>
<param-value>com.haulmont.cuba com.haulmont.reports</param-value>
</context-param>
Since I am using single WAR file deployment, my buildWar task in build.gradle has a property named webXmlPath that points to a customized web.xml file that is not automatically updated when components/addons are installed or uninstalled.