
66 vFoglight
Web Component Tutorial
These steps cause the context key host to be made available to the table. As you
did in Tutorial 2, you will configure My Hosts page to pass Host values to the
table.
To add a severity column to the table:
1
Select the Configuration tab.
The table designer page appears in the right pane.
2
We need to tell the table that its rows will be populated from a query. Locate the
row called Rows. Click the edit icon ( ) and choose Query Selection from the
popup.
The Edit - Rows dialog appears.
3
Click the Query drop-down button and navigate to Alarms for a given host and
select it. (My Queries > Alarms for a given host).
4
Click the Edit ( ) icon for Parameter {host} of type vFoglight: Host.
5
Choose Context Selection from the drop-down list.
6
Click the ( ) button for the Input Key field and choose host.
7
Click Save, leaving all the other fields untouched.
The table has been configured to get its information from a query that returns a
list of hosts, but we still have to define which property of a host will appear in a
column. For that, we will have to add a new column and define its content.
8
Expand the Columns node.
A row called Column appears. Expand the Column node.
The Value row becomes visible.
9
Click the Edit icon ( ) on the Val ue row.
Comentarios a estos manuales