Type Members

In the PartialFunction for sitemapMutator, you may want to look for a particular Loc in the menu to determine
if you want to (1) replace it, (2) add your menus after it or (3) insert your menus under it.

In the PartialFunction for sitemapMutator, you may want to look for a particular Loc in the menu to determine
if you want to (1) replace it, (2) add your menus after it or (3) insert your menus under it. You can create
a pattern matcher via buildMenuMatcher which returns an instance of UnapplyLocMatcher.

Should the top level /index path be rendered as / By default this value is false.

Should the top level /index path be rendered as / By default this value is false.
You may set it to true, but this may confuse some application servers when the application
is not running in the root context.

Builds a function that successively tests the partial function against the Menu.

Builds a function that successively tests the partial function against the Menu. If the PartialFunction is
matched, it is applied and a new Menu is created. This is generally used by modules to insert their menus
at locations in the menu hierarchy denoted by a marker Loc.LocParam. If the function does not fire,
a copy of the original sitemap is returned.

pf

the partial function (pattern match) to test against the Menu, if it matches, apply it which causes menu mutation.

Builds a function that successively tests the partial function against the Menu.

Builds a function that successively tests the partial function against the Menu. If the PartialFunction is
matched, it is applied and a new Menu is created. This is generally used by modules to insert their menus
at locations in the menu hierarchy denoted by a marker Loc.LocParam. If the function does not fire,
the 'or' function is applied, which allows trying alternative strategies (e.g., if the marker LocParam
is not found, append the menus to the root SiteMap.) This method returns a function
so that the strategy can be returned from a module and chained: (module1 andThen module2 andThen module3)(baseSitemap).

pf

the partial function (pattern match) to test against the Menu, if it matches, apply it which causes menu mutation.