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:IncludeJavascript component defines the following properties.
Name Type Description
src
String The path to a Javascript file, with or
without the .js extension
Example: vco:IncludeJavascript Component
The .js file extension is optional. The following example code lines both return the same src value.
<script jwcid="@vco:IncludeJavascript" src="dojo"/>
<script jwcid="@vco:IncludeJavascript" src="dojo/dojo.js"/>
vco:IncludeStylesheet Component
The vco:IncludeStylesheet component inserts a <link> tag that links to an external CSS file in a Web view.
You insert the vco:IncludeStylesheet component in the <head> tags of a Web view page.
Properties
The vco:IncludeStylesheet component defines the following properties.
Name Type Description
href or src
String Name of a CSS file, with or without
the .css extension.
attribute
String Name of a Web view attribute that
contains a path to the CSS files.
The href or src properties are unnecessary if you provide an attribute property. If you store CSS files in a
dedicated folder in the Web view file structure, you can include the folder name in the path you provide to
the href or src property.
Example: vco:IncludeStylesheet Component
The .css file extension is optional. The following example code lines both return the same href or src value.
<link jwcid="@vco:IncludeStylesheet" href="default.css"/>
<link jwcid="@vco:IncludeStylesheet" href="default"/>
The following example code line references a Web view attribute that contains a path to a CSS file. You
create Web view attributes in the Orchestrator client.
<link jwcid="@vco:IncludeStylesheet" attribute="cssDefault"/>
vco:IncludeWorkflowHeader Component
You use the vco:IncludeWorkflowHeader component with the vco:WebformContainer to display a Web form
in a Web view.
You can insert a Web form in a Web view to request information from the user when they start a workflow,
or to prompt the user for information during the workflow run.
Developing Web Views for VMware vCenter Orchestrator
34 VMware, Inc.