search:response-statistics

Description

The Response Statistics directive.

Usage

as element:
<search:response-statistics
       response="{object}"
       [showing-all-label="{string}"]
       [showing-label="{string}"]
       [of-label="{string}"]
       [to-label="{string}"]
       [number-format="{string}"]>
</search:response-statistics>

Directive info

  • This directive creates new scope.

Parameters

Param Type Details
response object

A response object

showing-all-label
(optional)
string

The showing all label, defaults to 'Showing all'

showing-label
(optional)
string

The showing label, defaults to 'Showing'

of-label
(optional)
string

The of label, defaults to 'of'

to-label
(optional)
string

The to label, defaults to '-'

number-format
(optional)
string

Format string for the numbers used using the Java DecimalFormat pattern. Default: '#,##0.###'

Example

Source