
68 vFoglight
Web Component Tutorial
We will illustrate another use of parameters by giving the table a title that contains the
name of the host.
To add a parameterized title to the table:
1
Click the Edit icon ( ) on the Title row.
2
Choose String Template.
The Edit - Title dialog appears.
3
Type Alarms Table for {0} in the Value field.
The construct {0} designates a positional parameter. After you have entered this
in the Va lue field a row appears in the dialog that allows you to set the parameter
with a runtime value.
4
Click the Edit icon ( ) on the Parameter {0} row.
5
Choose Context Selection from the drop-down.
The Edit - Parameter {0} dialog appears.
6
Choose host for the Input Key.
7
Choose name for the Path.
8
Click Save on the Edit - Parameter {0} dialog.
9
Click Save on the Edit - Title dialog.
10
Click Save on the bar containing the tabs to save Alarm Table for Host T3.
Configuring a Key-Value Listing Component
This section introduces the Key-Value component. You will use it to show more host
properties, this time pertaining to the CPU.
To add a Key-Value Listing component:
1
Choose Configure > Definitions and ensure that your tutorial module is selected.
Also ensure that the Views tab is selected for the Module List pane.
2
Click the Add ( ) button.
The New View dialog appears.
3
Click ( ) to expand the Tables and Trees node.
Comentarios a estos manuales