The vco:TaskAction component displays the scheduled action from a Task object. A user selects the task from a list that a vco:ListPane component generates.

Properties

The vco:TaskAction component defines the following properties.

Name

Type

Description

stringValue

String

The stringValue of the task that 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 vco: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 vco: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 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.

  • stringValue and type

  • attribute

  • action and actionParameters

  • object

  • urlParameter

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"/>