4.1

Table Of Contents
Method Returns Description
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.
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()
Chapter 9 Developing Web Views
VMware, Inc. 299