The code for the sample
task definition creates a group for each input type. Here is the code
for the first three groups:
<UI>
<Container option="DATATAB">
<Group option="DATAGROUP" open="true"
<DataItem data="DATASOURCE" />
</Group>
<Group option="ROLESGROUP" open="true">
<RoleItem role="VAR"/>
<RoleItem role="OPTNVAR"/>
<RoleItem role="OPTCVAR"/>
</Group>
</Container>
<Container option="OPTIONSTAB">
<Group option="GROUP0" open="true">
<OptionItem option="labelEXAMPLE"/>
</Group>
<Group option="GROUP1">
<OptionItem option="chkCheck"/>
<OptionItem option="chkEXAMPLE"/>
</Group>
<Group option="GROUP2">
<OptionItem option="labelEXAMPLE2"/>
<OptionItem option="radioButton1"/>
<OptionItem option="radioButton2"/>
<OptionItem option="radioButton3"/>
</Group>
...
</Container>
</UI>
When you run this code,
the
Data and
Options tabs
appear in the interface
The
Data tab
displays a selector for the input data source and three roles.
The
Options tab
contains several groups. The example code creates the Groups, Check
Boxes, and Radio Buttons groups. The first group is expanded by default
because the
open
attribute is set to
true
.
(The sample task definition includes code to create the remaining
groups on the
Options tab.)