
Runtime Values 137
Configurable Properties and Runtime Values
If Iterate Over 1st Parameter is selected, then the query executes once for each row. This
mechanism is available only for the first parameter in a query with multiple parameters.
It executes for each element from the list that is the value of the first parameter. The
results of each of those query executions are amalgamated into a list, which becomes the
final value of the Query Selection.
If a Query Selection uses Iterate Over 1st Parameter and has an On Null Runtime Value,
the On Null may need to access the current value being iterated over during the Query
Selection evaluation of the list that is set as the first parameter. To make this possible,
the current value from the first parameter is put into the context with the key
currentParameter prior to evaluating the On Null.
Caution Never create a user-defined context key with the name currentParameter.
Queries always return a list of results even if there is just one element in the list, as is the
case with aggregation queries. Therefore, if a Query Selection uses Iterate Over 1st
Parameter and has a list of hosts as the parameter being iterated over, then the result
returned is a list containing one result element for the evaluation of the query for each
host. In most cases, each result element is a one-element list containing the result data
object.
To easily access this sole result element, check Return First Object in List. This selects
the first element out of each list of query results. When Return First Object in List is
used in combination with Iterate Over 1st Parameter, it is applied to each of the query
results. The final result is a list that includes one element per host where each list
element is the data object containing the result data object.
Theme Selection
Themes can be defined so that views can have a different appearance when printed. In
fact, many variations of print themes can be defined. Note that you must choose the
appropriate components. Composite views that use a Fixed layout still print in the sizes
that are strictly specified by those views and do not look substantially different than
they do when viewed online. For more information, see “WCFTHEME” on page 156.
There are special dialogs for color or palette selection that are available for end user use.
If the property on which the theme is being set allows a choice of colors, the dialog
changes as follows:
Kommentare zu diesen Handbüchern