4.1

Table Of Contents
6 Add a table to the DisplayVmInfo.html file to contain information about the virtual machines that are in
the list.
<table width="200" border="1">
<tr>
<td>Virtual machine name</td>
<td></td>
</tr>
<tr>
<td>Virtual machine attributes</td>
<td></td>
</tr>
<tr>
<td>Object ID</td>
<td></td>
</tr>
</table>
7 Add references to the standard Tapestry Insert component and OGNL statements to obtain properties
from the array of VC:VirtualMachine objects that the vco:ListPane component obtains.
<table width="200" border="1">
<tr>
<td>Virtual machine name</td>
<td><vco jwcid="@Insert" value="ognl:get('name')"/></td>
</tr>
<tr>
<td>Object ID</td>
<td><vco jwcid="@Insert" value="ognl:get('id')"/></td>
</tr>
</table>
The value attributes of the Insert component use the WebObjectComponent.get() methods in OGNL
statements to obtain the following properties from the VC:VirtualMachine objects:
n
The name property to display the virtual machine name
n
The id property to display the Orchestrator ID of the virtual machine
8 Add a reference to the DisplayVmInfo component to the panel.html file.
<h3>Virtual Machine Information</h3>
<vco jwcid="@DisplayVmInfo" urlParameter="itemId" />
9 Open the Virtual Machine Manager Web view in a browser at http://
orchestrator_server
:8280/vmo/
and click one of the virtual machines in the list on the left.
Information about the virtual machine you clicked appears on the right.
You created a Web view page that obtains a list of virtual machines from the vCenter server and displays
information about each virtual machine in the list.
What to do next
Create a tab in the Virtual Machine Manager Web view to run workflows on objects in the vCenter server
inventory.
vCenter Orchestrator Developer's Guide
322 VMware, Inc.