[UP] The UI language |
The elements ui:dyn-enum-value and ui:dyn-enum-item The element ui:dyn-enum-value represents a literal for dynamic enumerators that can be used to set the initial value of a ui:variable. The element ui:dyn-enum-item represents one enumerated item. Declaration Level: Dialog structure <!ELEMENT ui:dyn-enum-value (ui:dyn-enum-item)* > <!ELEMENT ui:dyn-enum-item EMPTY> <!ATTLIST ui:dyn-enum-item internal NMTOKEN #REQUIRED external CDATA #IMPLIED > Attributes
Example <ui:variable name="preference" type="dynamic-enumerator"> <ui:dyn-enum-value> <ui:dyn-enum-item internal="orange" external="I like oranges"/> <ui:dyn-enum-item internal="banana" external="I like bananas"/> </ui:dyn-enum-value> </ui:variable> |