Implementation
The framework provides a default implementation of this service, namely o.a.c.core.runtimeservices.menubars.MenuBarsLoaderServiceDefault.
This searches for a classpath resource menubars.layout.xml, located ni the root package.
If using the Wicket viewer, the location of this file (and its name) can be overridden using the causeway.viewer.wicket.application.menubars-layout-file configuration property.
For example:
application.yaml
causeway:
viewer:
common:
application:
menubars-layout-file: demoapp/dom/menubars.layout.xml
The default implementation supports reloading only in prototype mode.