
Configuring Views and Context 127
Context and the Context Tab
Examples of dynamic context keys are:
There are other components that have properties associated with dynamic context keys.
See the Web Component Reference pages for details.
Flow Context
You can create context keys that relate to a flow action. For example, suppose you want
to select a host from a table showing a list of Hosts. To get access to the selected Host
you have to define a context element for use as a Flow Context for table rows. To do
this, define the Selected Row built-in context as Host. Then you can use it to change
pages to a view that requires Host as an input. See “Additional Context” on page 125 to
learn about adding more context elements to the flow.
Validation of Context in the Editors
When checking the required inputs of a contained view, optional and internal inputs are
provided at runtime by either the container or another contained view.
Type Casting Context
The strict typing nature of the Web Component Framework disallows arbitrary casting
of one type to another, since in any responsible UI development you need to detect and
prevent incorrect input.
On-null
Many places in the flow and context definition allow you to specify the value to use if
the incoming value is an unexpected null value.
Dynamic Context Key In Component
metric Bar Gauge
currentDataParent Cluster Bar Chart
currentItem Drop-Down List, Filter
currentRow Row-Oriented Table
currentNode Tree
Comentarios a estos manuales