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
Constructor
public WebviewComponent()
WebviewPage Class
The ch.dunes.web.webview.WebviewPage class provides methods that you call in OGNL expressions in Web
view component template HTML files.
The WebviewPage class extends the Tapestry class org.apache.tapestry.html.BasePage.
The WebviewPage class defines the following methods:
Table 6‑2. Methods of the WebviewPage class
Method Returns Description
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.
addQueryParameter(
java.lang.String url,
java.lang.String parameterName,
java.lang.Object parameterValue)
java.lang.String
Adds a parameter to a server query.
executeAction(java.lang.String
actionAttributeName)
java.lang.Object
Runs an action in the server and
returns the result.
executeAction(
java.lang.String
actionAttributeName,
java.lang.Object actionParameters)
java.lang.Object
Runs an action in the server and
returns the result.
getAbsoluteUrl(java.lang.String
relativeUrl)
java.lang.String
Returns the absolute URL from a
relative URL.
getAttribute(java.lang.String
attributeName)
java.lang.Object
Returns the Web view attribute of
the specified name. Use this method
instead of
getAttributes().get(String)
because it returns an exception if it
does not find the attribute.
getAttribute(
java.lang.String attributeName,
java.lang.Object defaultValue)
java.lang.Object
Returns the Web view attribute of
the specified name.
getAttributes() java.util.HashMap
Returns a hash map containing the
Web view attributes.
getBaseURL() java.lang.String
Returns the URL of the Web view.
getBrowser() ch.dunes.web.Browser Returns a Browser object that
contains information about the
browser in which the user accesses
the Web view.
getDojoPath() org.apache.tapestry.IAsset
Returns the path to any Dojo widgets
in the Web view as a Tapestry
IAsset object.
getDojoSource() org.apache.tapestry.IAsset
Returns the source of any Dojo
widgets in the Web view as a
Tapestry IAsset object.
Developing Web Views for VMware vCenter Orchestrator
30 VMware, Inc.