Output

I capture the generated content from the body statements and save it into a variable

Component Signature

<bx:Output query=[any]
group=[string]
groupCaseSensitive=[boolean]
startRow=[integer]
maxRows=[integer]
encodefor=[string] />

Attributes

Atrribute
Type
Required
Description
Default

query

any

false

group

string

false

groupCaseSensitive

boolean

false

false

startRow

integer

false

maxRows

integer

false

encodefor

string

false

Examples

Simple Tag Example

Loop over a query

Loops over each row of the query specified and outputs the result.

Loop over a range of rows of a query

Loops over 10 rows of the query specified starting from row 5 and outputs the result.

Using the encodeFor attribute

By specifying encodefor="html" each variable is encoded using the encodeForHTML function before it is output.

Using the group attribute

Creates a dummy query food, with columns name and type. Then outputs the food by grouping by the type.

Last updated

Was this helpful?