| Oracle® Fusion Middleware Idoc Script Reference Guide 11g Release 1 (11.1.1) E10726-01 |
|
![]() Previous |
![]() Next |
Home > Idoc Script Reference Guide > Management and Configuratio... > defaultOptionListScript
Defines a piece of Idoc Script that displays a standard option list field.
Type and Usage
Output
None.
Example
Generates an option list using the optList function:
<$if optionsAllowPreselect and fieldValue$>
<$defaultOptionListScript = "<$optList " & optionListName & ":fieldValue$>"$>
<$else$>
<$defaultOptionListScript = "<$optList " & optionListName & ":noselected$>"$>
<$endif$>
Loops on the current option list ResultSet to generate an option list:
<@dynamichtml compute_resultset_option_list_script@>
<$if not optionListKey$>
<$optionListKey = fieldName$>
<$endif$>
<$defaultOptionListScript = "<$loop " & optionListResultSet & "$>" & "<$inc('std_resultset_option_list_item')$>" & "<$endloop$>"$>
<@end@>
See Also