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
object
Object
An object. The vco:TaskAction
component displays the possible
actions to perform on this object.
urlParameter
String The parameter name in the URL that
represents the task the user selects.
You can only set the following parameters or combinations of parameters. Setting other combinations of
parameters results in an error.
n
stringValue and type
n
attribute
n
action and actionParameters
n
object
n
urlParameter
Example: vco:TaskAction Component
The following example code line shows how to use the vco:TaskAction component with the stringValue
and type parameters, if the Java interface that your Web view component or page references defines a
getMyStringValue()method.
<div jwcid="@vco:TaskAction" type="ognl:myType" stringValue="ognl:myStringValue"/>
The following code line shows how to use the vco:TaskAction component with the object parameter, if the
Java interface that your Web view component or page references defines a getMyObject()method.
<div jwcid="@vco:TaskAction" object="ognl:myObject"/>
vco:WebformContainer Component
The vco:WebformContainer component adds a Web form to a Web view, for users to complete when they run
a workflow or to allow users to provide information to a workflow during its run.
Properties
The vco:WebformContainer component defines no properties.
You can use the vco:WebformContainer component with the vco:WorkflowLink component.
Example: vco:WebformContainer Component
To add a vco:WebformContainer component to a Web view, you must also include a
vco:IncludeWorkflowHeader component in the <head> tag of the Web view page, as the following example
shows.
<!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>
Chapter 6 Web View Components
VMware, Inc. 39