4.1

Table Of Contents
</tr>
<tr>
<td>Object ID</td>
<td><vco 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
of the components that the Tapestry Framework 4.0 standard defines.
All of the Tapestry components in the Orchestrator library have the prefix vco:, 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.
vco:DisplayProperty Component
The vco:DisplayProperty component displays the names and values of the properties of objects in the
Orchestrator inventory.
Properties
The vco:DisplayProperty component defines the following properties.
Name Type Description
name * String Property name
property * String Property value
Example: vco:DisplayProperty Component
The following example shows how to use the vco:DisplayProperty component to display the details of a virtual
machine in a Web view.
<div jwcid="@vco:DisplayProperty" name="Name" property="MyVirtualMachine"/>
<div jwcid="@vco:DisplayProperty" name="Id" property="vm_89575"/>
<div jwcid="@vco:DisplayProperty" name="State" property="poweredOff"/>
vco:IfMemberOf Component
The vco: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 vco: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