4.0

Table Of Contents
The following example code line denies access to a page to users who are members of the group that the
partnerGroup Web view attribute defines.
<span jwcid="@vmo:PageAccessControl" deny="partnerGroup"/>
The following example code line redirects users who are members of the partnerGroup LDAP group to an error
page. The error401.html file is at the root of the Web view file structure.
<span jwcid="@vmo:PageAccessControl" deny="partnerGroup" redirectUrl="error401.html"/>
vmo:TaskAction Component
The vmo:TaskAction component displays the scheduled action from a Task object. A user selects the task from
a list that a vmo:ListPane component generates.
Properties
The vmo:TaskAction component defines the following properties.
Name Type Description
stringValue
String The stringValue of the task the user selects. Every object in the Orchestrator server has a
stringValue string representation.
type
String The type of the task that the user selects.
attribute
String A Web view attribute. The vmo:TaskAction displays the possible actions to perform on the
object that corresponds to this Web view attribute.
action
String A Web view attribute of type Action. The vmo:TaskAction component displays the
possible actions to perform on the object that this action returns.
actionParameters
List A list of parameters for the action.
object
Object An object. The vmo:TaskAction component displays the possible actions to perform on this
object.
urlParameter
String The parameter name in the URL that represents the task the user selects.
You can only set the following parameters or combinations of parameters. Setting other combinations of
parameters results in an error.
n
stringValue and type
n
attribute
n
action and actionParameters
n
object
n
urlParameter
Example: vmo:TaskAction Component
The following example code line shows how to use the vmo:TaskAction component with the stringValue and
type parameters, if the Java interface that your Web view component or page references defines a
getMyStringValue()method.
<div jwcid="@vmo:TaskAction" type="ognl:myType" stringValue="ognl:myStringValue"/>
The following code line shows how to use the vmo:TaskAction component with the object parameter, if the
Java interface that your Web view component or page references defines a getMyObject()method.
<div jwcid="@vmo:TaskAction" object="ognl:myObject"/>
vCenter Orchestrator Developer's Guide
306 VMware, Inc.