Setting

Controls some key request features of the runtime at the request level.

Component Signature

<bx:Setting enableOutputOnly=[boolean]
showDebugOutput=[boolean]
requestTimeout=[long] />

Attributes

Atrribute
Type
Required
Description
Default

enableOutputOnly

boolean

false

If true, the runtime will only output the result of the request and not the debug output

showDebugOutput

boolean

false

If true, the runtime will output the debug output according to the runtime in use

requestTimeout

long

false

The timeout in seconds for the request

Examples

Script Syntax

Enable bx:output only

Run Example

bx:setting enableoutputonly=true;

Script Syntax

Disables debug output

Run Example

bx:setting showdebugoutput=false;

Script Syntax

Set the request timeout to 30 seconds

Run Example

bx:setting requesttimeout=30;

Tag Syntax

Enable bx:output only

<bx:setting enableoutputonly="true">
Foo <bx:output>bar</bx:output>

Result: bar

Tag Syntax

Disables debug output

<bx:setting showdebugoutput="false">

Tag Syntax

Set the request timeout to 30 seconds

<bx:setting requesttimeout="30">

Last updated

Was this helpful?