public class NavigationContainerRequestParamMarshaller extends RequestParamMarshaller
NavigationContainerHandler
configuration from the parameters present
in a request URL. The following mapping is used:
SHOW_MORE
("showMoreIds") -> NavigationContainerConfig.setShowMoreIds(java.util.List)
WHY_PRECEDENCE_RULE_FIRED
("whyprecedencerulefired") -> NavigationContainerConfig.setWhyPrecedenceRuleFired(boolean)
NAV_REFINEMENT_MENU_CONFIG
("Nrmc") -> RefinementMenuConfig.setRefinementsShown(String)
Modifier and Type | Field and Description |
---|---|
static String |
NAV_REFINEMENT_MENU_CONFIG
Name of request parameter that sets the navigation refinement menu configuration.
|
static String |
SHOW_MORE
Deprecated.
As of release 3.1.1, replaced by
NAV_REFINEMENT_MENU_CONFIG . Name of request parameter that sets the list of Dimension IDs for which ALL dimension values will be shown. The value can be pipe delimited to expand multiple refinement menus. e.g. /N-83092?showMoreIds=10021|1000482 |
static String |
WHY_PRECEDENCE_RULE_FIRED
Query parameter name for turning on debug information about
what triggered precedence rules to fire for dimensions which are not
always displayed, "whyprecedencerulefired".
|
mRequest, mRequestMap
Constructor and Description |
---|
NavigationContainerRequestParamMarshaller()
Creates the marshaller for reading request parameters related
to
NavigationContainerConfig . |
Modifier and Type | Method and Description |
---|---|
ContentItem |
marshall()
Creates a new ContentItem and populates it with information from the
HttpServletRequest.
|
convertToBoolean, convertToInt, convertToList, convertToLong, override, setHttpServletRequest, setRequestMap
@Deprecated public static final String SHOW_MORE
NAV_REFINEMENT_MENU_CONFIG
. public static final String NAV_REFINEMENT_MENU_CONFIG
public static final String WHY_PRECEDENCE_RULE_FIRED
RefinementMenuItem
output model's attribute with the key
"DGraph.WhyPrecedenceRuleFired".
This parameter value overrides the default value that is set
up by the application.
e.g. /N-83092?whyprecedencerulefired=1.public NavigationContainerRequestParamMarshaller()
NavigationContainerConfig
.public ContentItem marshall()
RequestParamMarshaller
marshall
in class RequestParamMarshaller
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.