As part of the step, you can specify one or more tasks to be configured and executed. Tasks reside in their own XML file, named tasks.xml
, and are referred to from wizards.xml
. The id
specified in the wizards.xml
file’s task
element must match the id
of a task defined in tasks.xml
. For an example of a tasks.xml
file, see the <ATG11dir>/CIM/plugins/base
directory in your Oracle Commerce Platform installation.
In the task
, you specify the name and Java class. This identifies to CIM the component that is going to do the work of the task, so that CIM can set properties on that component. Input passes through the following series of layers:
CIM user interface >
wizards.xml
>tasks.xml
> JavaBean
The task
element’s property
element refers to a component property to which the input should be assigned. Within the input
element, you can include a label
, which is displayed in the user interface, and one or more validators to check the entered text (see the Adding Validators section of this chapter).
Task examples are shown in the sections that follow.