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
Table 6‑1. Methods of the WebviewComponent class (Continued)
Method Returns Description
getWebVisitor() ch.dunes.web.webview.WebVisitor The WebVisitor object contains
information about the Web view
user for the server to use.
getParameter(java.lang.String
parameterName)
java.lang.Object
Returns a query parameter value,
or null if no query parameter is
provided in the request. If
multiple values are provided, it
returns the first value.
getParameters(java.lang.String
parameterName)
java.lang.Object[]
Retrieves an array of values for a
query parameter.
objectToJson(java.lang.Object
object)
java.lang.String
Returns a JSON representation of
the object as a parameter.
objectToParam(java.lang.Object
object)
java.lang.String
Returns a parameter string to
identify an object.
getAttribute(
java.lang.String attributeName,
java.lang.Object defaultValue)
java.lang.String
Returns a Web view attribute, or
the default value if the attribute is
null or not set.
getAttribute(java.lang.String
attributeName)
java.lang.Object
Returns a Web view attribute.
translateParameters(java.util.Li
st parametersValues)
java.lang.Object[]
If the object value is a string that
begins with "attribute:",
translateParameters translates
an array of objects into a
FinderResult object. If the
string does not begin with
"attribute:", it does nothing.
getClientId() java.lang.String
Obtains the ID of the client.
setClientId(java.lang.String id)
void Sets the ID of the client.
getDojoSource() org.apache.tapestry.IAsset
Returns the source of any Dojo
widgets in the Web view as a
Tapestry IAsset object.
getDojoPath() org.apache.tapestry.IAsset
Returns the path to any Dojo
widgets in the Web view as a
Tapestry IAsset object.
getBrowser() ch.dunes.web.Browser Returns a Browser object that
contains information about the
browser in which the user
accesses the Web view.
addQueryParameter(
java.lang.String url,
java.lang.String parameterName,
java.lang.Object parameterValue)
java.lang.String
Adds a parameter to a server
query.
addQueryParameter(
boolean condition,
java.lang.String url,
java.lang.String parameterName,
java.lang.Object parameterValue)
java.lang.String
Adds a parameter to a server
query if a given condition is met.
The WebviewComponent class inherits the following methods from class java.lang.Object:
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString,wait, wait, wait
Chapter 6 Web View Components
VMware, Inc. 29