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
Name Type Description
detailUrl
String The URL of the HTML page in which
to display the details of an object in the
list. The HTML page that detailUrl
refers to must include a reference to a
Web view component that implements
the WebObjectComponent class.
detailParameterName
String Name of the parameter that stores the
ID of the item. Default is itemId.
updateFrequency
Integer Time in milliseconds before the list of
objects refreshes. Default is 0. If you do
not set the property, the list never
refreshes.
showHeader
Boolean Displays the filtering table header.
Default is false.
jsonIdKey
String Name of the JSON ID key.
jsonStateKey
String Name of the JSON state key. Default is
state.
jsonNameKey
String Name of the JSON name key. Default
is name.
jsonTypeKey
String Name of the JSON type key. Default is
type.
sizerWidth
Integer Width of the sizer method. Default is 9.
sizeShare
Integer Width or height of a child of a
SplitContainer. The value is relative
to the sizeShare properties of other
children. Default is 6, with the other
columns set to 10.
showState
Boolean
Shows a state column if set to true.
Default is false.
You must set at least one and only one of the attribute, url, or actions properties. If you do not set an
attribute, url, or actions property, or if you set more than one of these properties together, the Web view
returns an error.
Example: vco:ListPane Component
The following example displays a list of virtual machines in a pane of a Web view.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
version="-//W3C//DTD XHTML 1.1//EN" xml:lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<title>
<span jwcid="@Insert" value="ognl:webview.name">Page Title</span>
| Home
</title>
</head>
<body>
<div jwcid="@Border">
Developing Web Views for VMware vCenter Orchestrator
36 VMware, Inc.