System information

Identity Manager Workflows, Forms, and Views
Part Number 820-2952-10 Page 137
Chapter 8, HTML Display Components
The following discussion about an alternative to the MultiSelect component has been
added to this chapter:
It can be unwieldy to display many admin roles using the MultiSelect component (either
the applet or HTML version). Identity Manager provides a more scalable way of displaying
and managing admin roles: the
objectSelector
field template. (ID-15433)
The Scalable Selection Library (in
sample/formlib.xml
) includes an example of using an
objectSelector
field template to search for admin role names that a user can select.
Code Example Example of objectSelector Field Template
<Field name='scalableWaveset.adminRoles'>
<FieldRef name='objectSelector'>
<Property name='selectorTitle' value='_FM_ADMIN_ROLES'/>
<Property name='selectorFieldName' value='waveset.adminRoles'/>
<Property name='selectorObjectType' value='AdminRole'/>
<Property name='selectorMultiValued' value='true'/>
<Property name='selectorAllowManualEntry' value='true'/>
<Property name='selectorFixedConditions'>
<appendAll>
<new class='com.waveset.object.AttributeCondition'>
<s>hidden</s>
<s>notEquals</s>
<s>true</s>
</new>
<map>
<s>onlyAssignedToCurrentSubject</s>
<Boolean>true</Boolean>
</map>
</appendAll>
</Property>
<Property name='selectorFixedInclusions'>
<appendAll>
<ref>waveset.original.adminRoles</ref>
</appendAll>
</Property>
</FieldRef>
</Field>