Package com.foreach.across.modules.web.menu
package com.foreach.across.modules.web.menu
-
ClassDescriptionRegisters a fixed order to menu paths that are equal.Represents a hierarchical menu (tree) structure.Takes care of menu assembly.Processor instance to modify menu items after they have been built, but before having been attached to a parent item.A MenuSelector is a strategy interface that searches a Menu tree and returns at most one Menu item that matches it.Stores all created menus.Wraps around another comparator to first compare based on explicit order value set, but if the order value is the same, the secondary comparator will be used.A PathBasedMenuBuilder can be used to define menu items in a non-hierarchical way.Represents a single item builder attached to a parent
PathBasedMenuBuilder
.Applies a prefix context to a newly create menu item: applies the prefix to the url and creates an extra matcher for the prefix path.Builds a menu and assigns the request path to the selected path.Will search a menu for the item that best matches with the requested url.Stores Menu instance as attribute on the request, under the name specified.Simple implementation of MenuSelector that will iterate over all items in a menu tree and find the lowest item that matches.