5.5

Table Of Contents
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 62. 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.