request Taglib documentation

Version 1.0
Description Mashup Request Helpers

Tag isAjax request:isAjax(...)

Test whether the current request is executed using AJAX or not.
Body Content: empty
Attribute nameRequiredRuntime Expression EvaluationType
vartruefalsejava.lang.String
Name of the exported variable for the test result.

Tag getCookieValue request:getCookieValue(...)

Returns the cookie value
Body Content: empty
Attribute nameRequiredRuntime Expression EvaluationType
varfalsefalsejava.lang.String
Name of the exported variable for the parameter value.
nametruetruejava.lang.String
The name of the cookie to retrieve.
defaultValuefalsetruejava.lang.String
If the cookie value does not exist, the given default value will be returned.

Tag getParameterValue request:getParameterValue(...)

Returns an HTTP parameter value
Body Content: empty
Attribute nameRequiredRuntime Expression EvaluationType
varfalsefalsejava.lang.String
Name of the exported variable for the parameter value.
nametruetruejava.lang.String
The name of the HTTP parameter to retrieve.
widgetfalsetruecom.exalead.cv360.searchui.configuration.v10.Widget
If set, will retrieve the parameter for this widget.(Usually processed with a ParameterAdapterWidgetTrigger).
xmlEscapefalsefalseboolean
Specifies whether the HTTP parameter value should be XML escaped.
urlEncodefalsefalseboolean
Specifies whether the HTTP parameter value should be URL encoded.
defaultValuefalsetruejava.lang.String
If the HTTP parameter value does not exist, the given default value will be returned.

Tag getParameterValues request:getParameterValues(...)

Returns the HTTP parameter values
Body Content: empty
Attribute nameRequiredRuntime Expression EvaluationType
varfalsefalsejava.lang.String
Name of the exported variable for the parameter values. Object is of type String[].
nametruetruejava.lang.String
The name of the HTTP parameter to retrieve.
xmlEscapefalsefalseboolean
Specifies whether the HTTP parameter values should be XML escaped.
urlEncodefalsefalseboolean
Specifies whether the HTTP parameter values should be URL encoded.
defaultValuefalsetruejava.lang.String
If the HTTP parameter values does not exist, the given default value will be returned.

Tag forEachParameter request:forEachParameter(...)

Iterates over the request parameters names.
Body Content: scriptless
Attribute nameRequiredRuntime Expression EvaluationType
vartruefalsejava.lang.String
Name of the exported scoped variable for the current parameter name. This scoped variable has nested visibility.
varStatusfalsefalsejava.lang.String
Name of the exported scoped variable for the status of the iteration. This scoped variable has nested visibility.
beginfalsetrueint
The index on which to begin the iteration. Defaults to '0'.
iterationfalsetrueint
The number of iteration to perform, replace the 'end' attribute. 0 is interpreted as 'unbounded'. Defaults to '0'.