Implementation

The Core Runtime Services module provides a default implementation of this service, MenuBarsLoaderServiceDefault. This searches for a classpath resource menubars.layout.xml, located in the root package. Reloading is supported only in prototype mode.

The location of this file (and its name) can be overridden using the refguide:config:sections/causeway.viewer.common.adoc#causeway.viewer.common.application.menubars-layout-file configuration property.

For example:

application.yaml
causeway:
  viewer:
    common:
      application:
        menubars-layout-file: demoapp/dom/menubars.layout.xml