Red Hat DIRECTORY SERVER 7.1 - GATEWAY CUSTOMIZATION Informações Técnicas Página 137

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 186
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 136
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>
Vista de página 136
1 2 ... 132 133 134 135 136 137 138 139 140 141 142 ... 185 186

Comentários a estes Manuais

Sem comentários