Class NavigationMenuContainer
java.lang.Object
com.aquima.interactions.framework.container.navigationmenu.v1.NavigationMenuContainer
- All Implemented Interfaces:
IContainerExpander
Dynamic Container to navigation create a navigationMenu to freely navigate between pages
- Since:
- 16.6
- Author:
- Onno de Groote
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionexpand
(Container container, ContainerDefinition definition, IContainerContext context) This method is invoked by the composer to allow a custom component to expand the container definition.
-
Field Details
-
LOG
-
MENU_ITEM_STATUS_PROPERTY
- See Also:
-
MENU_ITEM_ACTIVE_PROPERTY
- See Also:
-
MENU_ITEM_BLOCKED_PROPERTY
- See Also:
-
-
Constructor Details
-
NavigationMenuContainer
public NavigationMenuContainer()
-
-
Method Details
-
expand
public Container expand(Container container, ContainerDefinition definition, IContainerContext context) throws Exception Description copied from interface:IContainerExpander
This method is invoked by the composer to allow a custom component to expand the container definition. The resulting container will not be post processed, and will be included as-is in the page.During an expand call the following rules apply.
The profile is read-onlyThe profile should only be used to retrieve information. Note: for older projects this can be changed by changing the application configuration, however this is highly discouraged.
- Specified by:
expand
in interfaceIContainerExpander
- Parameters:
container
- The container without any child elements.definition
- The container definition containing the child definitions.context
- the context for usage within the function.- Returns:
- A container which is used for the render action, and is never allowed to be null
- Throws:
Exception
- When an exception occurred which was not recoverable by the container. It will be replaced by an error-container. This exception has no influence on flowing or other handling which is done by the page-composer.
-