Details
-
Improvement
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
2.1.9, 2.1.10, 2.2
-
None
-
None
-
Normal
-
Patch available
Description
Setting a text for the nullable-Value as String or XMLizable programmaticly by using setNullText(String nullText);
Also you can set the nullText in the definition of the selectionlist.
Example:
<fd:datatype base="long"/>
<fd:selection-list>
<fd:null-text>
<i18n:text>please-select</i18n:text>
</fd:null-text>
<fd:item value="1"/>
<fd:item value="2"/>
<fd:item value="3">
<fd:label>three</fd:label>
</fd:item>
<fd:item value="4"/>
<fd:item value="5"/>
</fd:selection-list>
Also you can set the nullText in the definition of the selectionlist.
Example:
<fd:datatype base="long"/>
<fd:selection-list>
<fd:null-text>
<i18n:text>please-select</i18n:text>
</fd:null-text>
<fd:item value="1"/>
<fd:item value="2"/>
<fd:item value="3">
<fd:label>three</fd:label>
</fd:item>
<fd:item value="4"/>
<fd:item value="5"/>
</fd:selection-list>