5.5

Table Of Contents
Name Type Description
object
Object
An object. The vco: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: vco:TaskAction Component
The following example code line shows how to use the vco: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="@vco:TaskAction" type="ognl:myType" stringValue="ognl:myStringValue"/>
The following code line shows how to use the vco:TaskAction component with the object parameter, if the
Java interface that your Web view component or page references defines a getMyObject()method.
<div jwcid="@vco:TaskAction" object="ognl:myObject"/>
vco:WebformContainer Component
The vco:WebformContainer component adds a Web form to a Web view, for users to complete when they run
a workflow or to allow users to provide information to a workflow during its run.
Properties
The vco:WebformContainer component defines no properties.
You can use the vco:WebformContainer component with the vco:WorkflowLink component.
Example: vco:WebformContainer Component
To add a vco:WebformContainer component to a Web view, you must also include a
vco:IncludeWorkflowHeader component in the <head> tag of the Web view page, as the following example
shows.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<span jwcid="@vco:IncludeWorkflowHeader"/>
</head>
Chapter 6 Web View Components
VMware, Inc. 39