Red Hat DIRECTORY SERVER 7.1 - GATEWAY CUSTOMIZATION Technické informace Strana 127

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 186
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 126
Identity Manager Workflows, Forms, and Views
Part Number 820-2952-10 Page 127
To display a severity level other than warning, replace the
<s>warning</s>
in the
preceding example with either of the these two values:
error
-- Causes Identity Manager to render an InlineAlert with a red "error" icon.
ok
-- Results in an InlineAlert with a blue informational icon for messages that can
indicate either success or another non-critical message.
Identity Manager renders this as an InlineAlert with a warning icon
<invoke class='com.waveset.msgcat.Severity' name='fromString'>
<s>warning</s>
</invoke>
where
warning
can also be
error
or
ok
.
This chapter now contains the following description of the Hidden display component:
The Hidden display class corresponds to the
<input type=hidden’/>
HTML component.
This component supports only single-valued data types because there is no way to reliably
serialize and deserialize multi-valued data types. (ID-16904)
If you have a List that you want to render it as a string, you must explicitly convert it to a
string. For example:
You can now set the
RequiresChallenge
property in the End User Interface Change
Password Form to require users to reenter their current password before changing the
password on their account. For an example of how to set this property, see the Basic
Change Password Form in
enduser.xml
. (ID-17309)
Code Example 0-1 Rendering Multi-Value Data Type with the Hidden Display Component
<Field name='testHiddenFieldList' >
<Display class='Hidden'/ >
<Derivation>
<invoke name='toString'> <List> <String>aaaa</String> <String>bbbb</String>
</List> </invoke>
</Derivation>
</Field>
Zobrazit stránku 126
1 2 ... 122 123 124 125 126 127 128 129 130 131 132 ... 185 186

Komentáře k této Příručce

Žádné komentáře