5.5
Table Of Contents
- Developing Web Views for VMware vCenter Orchestrator
- Contents
- Developing Web Views for VMware vCenter Orchestrator
- Web View Overview
- Weboperator Web View
- Web View Development Tasks to Perform in Orchestrator
- Create a Web View Skeleton
- Export a Web View as a Template
- Create a Web View from a Template
- Define a Web View Template as a Resource Element
- Create a Web View from a Resource Element Template
- Export Web View Files to a Working Folder
- Configure the Server for Web View Development
- Import Web View Files from a Working Folder
- Create a Web View Attribute
- Add a Resource Element to a Web View
- Disable Web View Development Mode
- Publish a Web View
- File Structure of a Web View
- Web View Home Page
- Web View Components
- Tapestry Web View Components
- Creating Tapestry Web View Components
- Orchestrator Tapestry Component Library
- vco:DisplayProperty Component
- vco:IfMemberOf Component
- vco:IncludeJavascript Component
- vco:IncludeStylesheet Component
- vco:IncludeWorkflowHeader Component
- vco:ListPane Component
- vco:Login Component
- vco:PageAccessControl Component
- vco:TaskAction Component
- vco:WebformContainer Component
- vco:WorkflowLink Component
- Accessing Server Objects from URLs
- Create a Simple Web View Using the Default Template
- Import the Default Web View Template
- Export the Virtual Machine Manager Web View to a Working Folder
- Provide Unique Component Names
- Configure the Server for Web View Development
- Edit the Virtual Machine Manager Web View Home Page
- Add a vco:ListPane Component to the Web View Home Page
- Define the Web View Attributes for the vco:ListPane Component
- Create a Web View Component to Display Virtual Machine Information
- Create a Web View Tab by Using the Menu Component
- Add Links to Run Workflows from a Web View by Using the vco:WorkflowLink Component
- Customize the Web View Interface
- Publish the Virtual Machine Manager Web View
- Index
Properties
The vco:IncludeWorkflowHeader component defines the following property.
Name Type Description
debug
Boolean Set the Dojo debugging mode
You insert the vco:IncludeWorkflowHeader component in the <head> tags of a Web view page. You insert the
associated vco:WebformContainer component in the <body> tags of the Web view page.
Example: vco:IncludeWorkflowHeader Component
The following example shows how to use the vco:IncludeWorkflowHeader component in a Web view.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<span jwcid="@vco:IncludeWorkflowHeader"/>
</head>
<body jwcid="@Body">
<span jwcid="@WebformContainer"/>
</body> </html>
vco:ListPane Component
The vco:ListPane component displays a list of objects in a Web view, and displays an object's details when
the user selects the object in the list.
Properties
The vco:ListPane component defines the following properties.
Name Type Description
attribute
String A Web view attribute that references
an array of objects that you define in
the Orchestrator client. The array of
objects appears in the vco:ListPane
component in the Web view.
action
String A Web view attribute that references
an action. The action must return an
array of objects.
actionParameters
Array of objects Array of parameters that an action
requires. If the parameter is a Web
view attribute, use the syntax
attribute:myAttribute.
url
String The URL of the content of the list.
Returns a JavaScript Object Notation
(JSON) string.
Chapter 6 Web View Components
VMware, Inc. 35