4.0

Table Of Contents
</tr>
<tr>
<td>Object ID</td>
<td><vmo jwcid="@Insert" value="ognl:get('id')"/></td>
</tr>
</table>
Orchestrator Tapestry Component Library
Orchestrator has a library of Tapestry components that you can reference in Web views. You can also use all
the components that the Tapestry Framework 4.0 standard defines.
All the Tapestry components in the Orchestrator library have the prefix vmo:, to distinguish these components
from the components that the standard Tapestry framework provides.
The components in the Orchestrator Web view component library require different properties to display
different types of information in the Web view. In the property tables for each component, asterisks (*) denote
mandatory properties.
vmo:DisplayProperty Component
The vmo:DisplayProperty component displays the names and values of the properties of objects in the
Orchestrator inventory.
Properties
The vmo:DisplayProperty component defines the following properties.
Name Type Description
name * String Property name
property * String Property value
Example: vmo:DisplayProperty Component
The following example shows how to use the vmo:DisplayProperty component to display the details of a virtual
machine in a Web view.
<div jwcid="@vmo:DisplayProperty" name="Name" property="MyVirtualMachine"/>
<div jwcid="@vmo:DisplayProperty" name="Id" property="vm_89575"/>
<div jwcid="@vmo:DisplayProperty" name="State" property="poweredOff"/>
vmo:IfMemberOf Component
The vmo:IfMemberOf component includes a block of content if the current user is a member of a given LDAP
group.
If you pass an array of LDAP groups to this component, the Web view displays the content if the current user
is a member of at least one of the groups in the list.
Properties
The vmo:IfMemberOf component defines the following properties.
Name Type Description
attribute * String An attribute of the LdapGroup type, or an array of LdapGroup objects.
Chapter 9 Developing Web Views
VMware, Inc. 301