
The Web Component Framework 63
Core Concepts
and a link takes it to another view, then that new view can get access to that value by
specifying its name as a context input.
For more information, see “Context and the Context Tab” on page 122.
Parameters
Most types of Runtime Values have parameters. These are placeholders nested within
the Runtime Value that are also evaluated at run time. An example is a String Template
Runtime Value set to Host: {0}. In this case Host: is a fixed string, while {0} is a
reference to a parameter that evaluates to the name of the host server by configuring that
association to a particular dynamic context at the time when the String Template
Runtime Value is being defined. Each description of the Runtime Value types explains
how to use parameters.
Caution Any quotation mark you use in the parameterized string must be escaped. For example,
if the string that you want to use is The host’s name is: {0}, you must escape the
apostrophe as follows:
The host\’s name is: {0}
.
For more information, see “Configurable Properties and Runtime Values” on page 130.
On Null Values
Most types of Runtime Value have an associated On Null Runtime Value. This provides
an alternate value that can be used if the main Runtime Value evaluates to null (nothing)
or an empty list of values.
Renderers
A renderer may be specified on each type of Runtime Value. A renderer determines how
the evaluated value is displayed. For example, a limit to the length of a string, the
number of decimal places, or the date and time format. If no renderer is specified, then
default renderers are used. Therefore, in most cases, a renderer is not required.
Null and error renderers, noted earlier in the list of simple types, are special cases of
renderers. They are only used to display no data or error information. Unlike normal
renderers, they do not base their behavior on the data being rendered, but instead have
fixed outputs. A drop-down menu lists all the available renderers. Generally, you can
determine which renderer to select based on its name. If no renderer is specified,
Comentarios a estos manuales