Tutorial

48 vFoglight
Web Component Tutorial
2
Click anywhere in the rectangle allocated to Monitored Hosts. Its border becomes
highlighted.
3
Click the Properties tab.
4
In the Properties dialog, clear the boxes for Show Title and Show Border.
Note You can change the width of the table here too. The value you enter here overrides
the preferred width in the General tab, so setting a width there doesn’t actually have
an effect.
5
Save the changes and view the result. Observe that there is no title and no border
around the table.
6
Return to the Properties dialog, check the boxes for Show Title and Show
Border, save your changes and view the result.
Observe that the title of the table is Hosts Being Monitored by vFoglight, which is
the title that we gave to the component.
Note You may have noticed that the column containing the host names has a heading whose
value is “name,” which is derived from the property chosen for this column in the context
selection (
<currentRow>/name). The header can be changed by editing the column’s
Header property. You will need to check Show Advanced Properties in Monitored Hosts and
navigate to Columns > Column > Header.
Saving the Tutorial1 Module
This procedure assumes that your vFoglight installation is in the default location on a
Windows machine. Make the appropriate changes for other platforms.It also assumes
that you have created a special user account for working with the tutorial called
WCFTutorial1. Note that all objects in the module are saved.
To save your module using fglcmd:
In a command window on the server machine, type:
cd C:\Vizioncore\vFoglight\bin
fglcmd -usr wcftutorial1 -pwd tutorial1 -cmd util:uiexport -
m user:wcftutorial1 -f \C:\pub\Tutorial\Tutorial1.zip.
If you were acting as the default foglight user, type:
cd C:\Vizioncore\vFoglight\bin
fglcmd -usr foglight -pwd foglight -cmd util:uiexport -m
system:tutorial1 -f \C:\pub\Tutorial\Tutorial1.zip