The following example shows a field that uses the ListEditor display class (Tabbed User Form):
<Field name=’accounts[Sim1].Group’>
<Display class=’ListEditor’ action=’true’>
<Property name=’listTitle’ value=’stuff’/>
<Property name=’allowTextEntry’>
<Boolean>true</Boolean>
</Property>
<Property name=’ordered’>
<Boolean>true</Boolean>
</Property>
</Display>
<Expansion>
<ref>accounts[Sim1].Group</ref>
</Expansion>
</Field>
This code snippet creates a field where the customer can add groups to or remove them from a user.
This display class typically requires a List of Strings as input. To coerce a single String into a List of Strings:
<Expansion> <appendAll><ref>accounts[Sim1].Group</ref></appendAll> </Expansion>