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‑2. Methods of the WebviewPage class (Continued)
Method Returns Description
getPageUrl() java.lang.String
Returns the URL of the current page
without the URL parameters.
getPageUrlWithQuerryString() java.lang.String
Returns the URL of the current page
with the URL parameters.
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.
getRequest() Abstract
HttpServletRequest
Returns HTTP servlet requests.
The WebviewPage class inherits the following methods from class java.lang.Object:
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString,wait, wait, wait
Fields
n
public static java.lang.String DEFAULT_FLASH_TYPE
n
public static java.lang.String LOGIN_MESSAGE_ATTRIBUTE
n
public static java.lang.String DEFAULT_LOGIN_MESSAGE
Constructor
WebviewPage()
WebObjectComponent Class
The ch.dunes.web.webview.components.WebObjectComponent class provides methods to obtain information
from objects in the Orchestrator server. The WebObjectComponent class extends WebviewComponent.
You use the WebObjectComponent class in conjunction with vmo:ListPane components.
The vmo:ListPane component inserts a list of objects into a Web view. To display information about an
object in the list in another Web view page or panel, the HTML file that displays that information must
contain a Web view component that implements the WebObjectComponent class.
The WebObjectComponent class defines the following methods that obtain properties from objects in the
Orchestrator server.
Table 6‑3. Methods of the WebObjectComponent class
Method Retruns Description
get(java.lang.String name) java.lang.Object
Obtains the property of the given
name.
get(
java.lang.String name,
java.lang.String
valueIfNotFound
java.lang.Object
Obtains the property of the given
name.
toParam() java.lang.String
Obtains the output parameter of an
Action or Workflow object.
Chapter 6 Web View Components
VMware, Inc. 31