2.4.1.21.2 Combo Box Control
The combo box control enables the user to select or specify a single value from a list of options that can be specified manually by the form template designer or be populated from a data source. The following table describes the symbols for a combo box control.
Symbol |
Description |
---|---|
SIMPLE_COMBO_BOX |
The combo box control enables the user to select or specify a single value from a list of options that can be specified manually by the form template designer or be populated from a data source (2). |
COMBO_BOX_WITH_CONDITIONAL_FORMATTING |
SIMPLE_COMBO_BOX, but allows conditional formatting, such as text formatting and disabling. |
COMBO_BOX_WITH_VALUES_FROM_DATA_SOURCE |
SIMPLE_COMBO_BOX, where the values for the collection are drawn from another location within the form’s data source (2). |
COMBO_BOX_WITH_VALUES_FROM_DATA_SOURCE_AND_CONDITIONAL_FORMATTING |
Combination of COMBO_BOX_WITH_VALUES_FROM_DATA_SOURCE and COMBO_BOX_WITH_CONDITIONAL_FORMATTING. |
COMBO_BOX_WITH_UNIQUE_VALUES_FROM_DATA_SOURCE |
DROPDOWN_LIST_BOX_WITH_VALUES_FROM_DATA_SOURCE, where each value from the collection of values is unique. |
COMBO_BOX _WITH_UNIQUE_VALUES_FROM_DATA_SOURCE_AND_CONDITIONAL_FORMATTING |
Combination of COMBO_BOX_WITH_UNIQUE_VALUES_FROM_DATA_SOURCE and COMBO_BOX_WITH_CONDITIONAL_FORMATTING. |
SIMPLE_COMBO_BOX:
-
<span class="xdComboBox xdBehavior_ComboBox" xd:xctname="combobox" style="COMBO_BOX_STYLE1"> <xsl:if test="function-available('ipApp:GetMajorVersion') and ipApp:GetMajorVersion() >= 12"> <select tabIndex="-1" disabled="true" style="STYLE_WIDTH1;VISIBILITY:hidden;WIDTH:100%;"/> <span xd:xctname="PlainText" hideFocus="1" class="TEXT_BOX_BASE_CLASS_NAME xdBehavior_ComboBoxTextField" (accessKey="SINGLE_CHARACTER1")? title="ANY_STRING1" xd:binding="LEAF_XPATH1" (tabIndex="TAB_INDEX1")? (value="ANY_STRING")? xd:CtrlId="CONTROL_ID1" (xd:postbackModel="POSTBACKMODEL)? (INPUT_SCOPE)? (xd:datafmt="DATA_FMT_CTRL_COMBOBOX")?> <xsl:attribute name="style">STYLE_WIDTH1;POSITION:absolute;WIDTH:0px;WORD-WRAP:normal</xsl:attribute> <xsl:choose> (<xsl:when test="BOOLEAN_XPATH_EXPRESSIONx">ANY_STRINGy</xsl:when>)* <xsl:otherwise> <xsl:value-of select="LEAF_XPATH1"/> </xsl:otherwise> </xsl:choose> </span> </xsl:if> <select (accessKey="SINGLE_CHARACTER1")? class="xdComboBox xdBehavior_Select" title="ANY_STRING1" size="1" xd:binding="LEAF_XPATH1" xd:xctname="dropdown" (value="ANY_STRING")? xd:CtrlId="CONTROL_ID1" (xd:postbackModel="POSTBACKMODEL)? (INPUT_SCOPE)? xd:boundProp="value"> <xsl:choose> <xsl:when test="function-available('ipApp:GetMajorVersion') and ipApp:GetMajorVersion() >= 12"> <xsl:attribute name="tabIndex">-1</xsl:attribute> </xsl:when> <xsl:otherwise> <xsl:attribute name="tabIndex">TAB_INDEX1</xsl:attribute> </xsl:otherwise> </xsl:choose> <xsl:attribute name="style">STYLE_WIDTH1 <xsl:choose> <xsl:when test="function-available('ipApp:GetMajorVersion') and ipApp:GetMajorVersion() >= 12">;POSITION:absolute;WIDTH:0px;</xsl:when> <xsl:otherwise>COMBO_BOX_STYLE1</xsl:otherwise> </xsl:choose> </xsl:attribute> <xsl:attribute name="value"> <xsl:value-of select="LEAF_XPATH1"/> </xsl:attribute> (<option (value="ANY_STRING")?> <xsl:if test="BOOLEAN_XPATH_EXPRESSIONx"> <xsl:attribute name="selected">selected</xsl:attribute> </xsl:if>ANY_STRINGy </option>)* </select> </span>
COMBO_BOX_WITH_CONDITIONAL_FORMATTING:
-
<span class="xdComboBox xdBehavior_ComboBox" xd:xctname="combobox" style="COMBO_BOX_STYLE1"> <xsl:if test="function-available('ipApp:GetMajorVersion') and ipApp:GetMajorVersion() >= 12"> <select tabIndex="-1" disabled="true" style="STYLE_WIDTH1;VISIBILITY:hidden;WIDTH:100%;"/> <span xd:xctname="PlainText" hideFocus="1" class="xdTextBox xdBehavior_ComboBoxTextField" (accessKey="SINGLE_CHARACTER1")? title="ANY_STRING1" xd:binding="LEAF_XPATH1" (tabIndex="TAB_INDEX1")? (value="ANY_STRING")? xd:CtrlId="CONTROL_ID1" (xd:postbackModel="POSTBACKMODEL)? (INPUT_SCOPE)? (xd:datafmt="DATA_FMT_CTRL_COMBOBOX")?> <xsl:attribute name="style">STYLE_WIDTH1 <xsl:choose> (<xsl:when test="BOOLEAN_XPATH_EXPRESSIONx">COMBO_BOX_CONDITIONAL_FORMATTING </xsl:when>)+ </xsl:choose> ;POSITION:absolute;WIDTH:0px;WORD-WRAP:normal</xsl:attribute> (<xsl:choose> (<xsl:when test="BOOLEAN_XPATH_EXPRESSIONx"> (<xsl:attribute name="contentEditable">false</xsl:attribute>)? </xsl:when>)+ </xsl:choose>)? <xsl:choose> (<xsl:when test="BOOLEAN_XPATH_EXPRESSIONx">ANY_STRINGy</xsl:when>)* <xsl:otherwise> <xsl:value-of select="LEAF_XPATH1"/> </xsl:otherwise> </xsl:choose> </span> </xsl:if> <select (accessKey="SINGLE_CHARACTER1")? class="xdComboBox xdBehavior_Select" title="ANY_STRING1" size="1" xd:binding="LEAF_XPATH1" xd:xctname="dropdown" (value="ANY_STRING")? xd:CtrlId="CONTROL_ID1" (xd:postbackModel="POSTBACKMODEL)? (INPUT_SCOPE)? xd:boundProp="value"> <xsl:choose> <xsl:when test="function-available('ipApp:GetMajorVersion') and ipApp:GetMajorVersion() >= 12"> <xsl:attribute name="tabIndex">-1</xsl:attribute> </xsl:when> <xsl:otherwise> <xsl:attribute name="tabIndex">TAB_INDEX1</xsl:attribute> </xsl:otherwise> </xsl:choose> <xsl:attribute name="style">STYLE_WIDTH1 <xsl:choose> (<xsl:when test="BOOLEAN_XPATH_EXPRESSIONx">COMBO_BOX_CONDITIONAL_FORMATTING </xsl:when>)+ </xsl:choose> <xsl:choose> <xsl:when test="function-available('ipApp:GetMajorVersion') and ipApp:GetMajorVersion() >= 12">;POSITION:absolute;WIDTH:0px;</xsl:when> <xsl:otherwise>COMBO_BOX_STYLE1</xsl:otherwise> </xsl:choose> </xsl:attribute> <xsl:choose> (<xsl:when test="BOOLEAN_XPATH_EXPRESSIONx"> (<xsl:attribute name="disabled">true</xsl:attribute>)? </xsl:when>)+ </xsl:choose> <xsl:attribute name="value"> <xsl:value-of select="LEAF_XPATH1"/> </xsl:attribute> (<option (value="ANY_STRING")?> <xsl:if test="BOOLEAN_XPATH_EXPRESSIONx <xsl:attribute name="selected">selected</xsl:attribute> </xsl:if>ANY_STRINGy </option>)* </select> </span>
COMBO_BOX_WITH_VALUES_FROM_DATA_SOURCE:
-
<span class="xdComboBox xdBehavior_ComboBox" xd:xctname="combobox" style="COMBO_BOX_STYLE1"> <xsl:if test="function-available('ipApp:GetMajorVersion') and ipApp:GetMajorVersion() >= 12"> <select tabIndex="-1" disabled="true" style="STYLE_WIDTH1;VISIBILITY:hidden;WIDTH:100%;"/> <span xd:xctname="PlainText" hideFocus="1" class="xdTextBox xdBehavior_ComboBoxTextField" (accessKey="SINGLE_CHARACTER1")? title="ANY_STRING1" xd:binding="LEAF_XPATH1" (tabIndex="TAB_INDEX1")? (value="ANY_STRING")? xd:CtrlId="CONTROL_ID1" (xd:postbackModel="POSTBACKMODEL)? (INPUT_SCOPE)? (xd:datafmt="DATA_FMT_CTRL_COMBOBOX")?> <xsl:attribute name="style">STYLE_WIDTH1;POSITION:absolute;WIDTH:0px;WORD-WRAP:normal</xsl:attribute> (<xsl:variable name="val" select="LEAF_XPATH1"/>)? <xsl:choose> <xsl:when test="REPEATING_LEAF_XPATH1[LEAF_XPATH2 =$val]/."> <xsl:value-of select=" REPEATING_LEAF_XPATH1 [LEAF_XPATH2 =$val]/."/> </xsl:when> <xsl:otherwise> (<xsl:choose> <xsl:when test="function-available('xdFormatting:formatString')"> <xsl:value-of select="xdFormatting:formatString(LEAF_XPATH1,"string","plainMultiline")" /> </xsl:when> <xsl:otherwise> <xsl:value-of select="LEAF_XPATH1" /> </xsl:otherwise> </xsl:choose>)| (<xsl:value-of select="LEAF_XPATH1"/>) </xsl:otherwise> </xsl:choose> </span> </xsl:if> <select (accessKey="SINGLE_CHARACTER1")? class="xdComboBox xdBehavior_Select" title="ANY_STRING1" size="1" xd:binding="LEAF_XPATH1" xd:xctname="dropdown" (value="ANY_STRING")? xd:CtrlId="CONTROL_ID1" (xd:postbackModel="POSTBACKMODEL)? (INPUT_SCOPE)? xd:boundProp="value"> <xsl:choose> <xsl:when test="function-available('ipApp:GetMajorVersion') and ipApp:GetMajorVersion() >= 12"> <xsl:attribute name="tabIndex">-1</xsl:attribute> </xsl:when> <xsl:otherwise> <xsl:attribute name="tabIndex">TAB_INDEX1</xsl:attribute> </xsl:otherwise> </xsl:choose> <xsl:attribute name="style">STYLE_WIDTH1 <xsl:choose> <xsl:when test="function-available('ipApp:GetMajorVersion') and ipApp:GetMajorVersion() >= 12">;POSITION:absolute;WIDTH:0px;</xsl:when> <xsl:otherwise>COMBO_BOX_STYLE1</xsl:otherwise> </xsl:choose> </xsl:attribute> <xsl:attribute name="value"> <xsl:value-of select="LEAF_XPATH1"/> </xsl:attribute> <xsl:choose> <xsl:when test="function-available('xdXDocument:getDOM')"> (<option/>)? <xsl:variable name="val" select="LEAF_XPATH1"/> <xsl:if test="not(REPEATING_LEAF_XPATH1[LEAF_XPATH2=$val] or $val='')"> <option selected="selected"> <xsl:attribute name="value"> <xsl:value-of select="$val"/> </xsl:attribute> <xsl:value-of select="$val"/> </option> </xsl:if> <xsl:for-each select=" REPEATING_LEAF_XPATH1"> <option> <xsl:attribute name="value"> <xsl:value-of select="."/> </xsl:attribute> <xsl:if test="$val=."> <xsl:attribute name="selected">selected </xsl:attribute> </xsl:if> <xsl:value-of select="."/> </option> </xsl:for-each> </xsl:when> <xsl:otherwise> <option> <xsl:value-of select="LEAF_XPATH1"/> </option> </xsl:otherwise> </xsl:choose> </select> </span>
COMBO_BOX_WITH_VALUES_FROM_DATA_SOURCE_AND_CONDITIONAL_FORMATTING
-
<span class="xdComboBox xdBehavior_ComboBox" xd:xctname="combobox" style="COMBO_BOX_STYLE1"> <xsl:if test="function-available('ipApp:GetMajorVersion') and ipApp:GetMajorVersion() >= 12"> <select tabIndex="-1" disabled="true" style="STYLE_WIDTH1;VISIBILITY:hidden;WIDTH:100%;"/> <span xd:xctname="PlainText" hideFocus="1" class="xdTextBox xdBehavior_ComboBoxTextField" (accessKey="SINGLE_CHARACTER1")? title="ANY_STRING1" xd:binding="LEAF_XPATH1" (tabIndex="TAB_INDEX1")? (value="ANY_STRING")? xd:CtrlId="CONTROL_ID1" (xd:postbackModel="POSTBACKMODEL)? (INPUT_SCOPE)? (xd:datafmt="DATA_FMT_CTRL_COMBOBOX")?> <xsl:attribute name="style">STYLE_WIDTH1 <xsl:choose> (<xsl:when test="BOOLEAN_XPATH_EXPRESSIONx">COMBO_BOX_CONDITIONAL_FORMATTING </xsl:when>)+ </xsl:choose> ;POSITION:absolute;WIDTH:0px;WORD-WRAP:normal</xsl:attribute> (<xsl:choose> (<xsl:when test="BOOLEAN_XPATH_EXPRESSIONx"> (<xsl:attribute name="contentEditable">false</xsl:attribute>)? </xsl:when>)+ </xsl:choose>)? (<xsl:variable name="val" select="LEAF_XPATH1"/>)? <xsl:choose> <xsl:when test="REPEATING_LEAF_XPATH1[LEAF_XPATH2 =$val]/."> <xsl:value-of select="REPEATING_LEAF_XPATH1 [LEAF_XPATH2 =$val]/."/> </xsl:when> <xsl:otherwise> (<xsl:choose> <xsl:when test="function-available('xdFormatting:formatString')"> <xsl:value-of select="xdFormatting:formatString(LEAF_XPATH1,"string","plainMultiline")" /> </xsl:when> <xsl:otherwise> <xsl:value-of select="LEAF_XPATH1" /> </xsl:otherwise> </xsl:choose>)| (<xsl:value-of select="LEAF_XPATH1"/>) </xsl:otherwise> </xsl:choose> </span> </xsl:if> <select (accessKey="SINGLE_CHARACTER1")? class="xdComboBox xdBehavior_Select" title="ANY_STRING1" size="1" xd:binding="LEAF_XPATH1" xd:xctname="dropdown" (value="ANY_STRING")? xd:CtrlId="CONTROL_ID1" (xd:postbackModel="POSTBACKMODEL)? xd:boundProp="value" (INPUT_SCOPE)?> <xsl:choose> <xsl:when test="function-available('ipApp:GetMajorVersion') and ipApp:GetMajorVersion() >= 12"> <xsl:attribute name="tabIndex">-1</xsl:attribute> </xsl:when> <xsl:otherwise> <xsl:attribute name="tabIndex">TAB_INDEX1</xsl:attribute> </xsl:otherwise> </xsl:choose> <xsl:attribute name="style">STYLE_WIDTH1 <xsl:choose> (<xsl:when test="BOOLEAN_XPATH_EXPRESSIONx">COMBO_BOX_CONDITIONAL_FORMATTING</xsl:when>)+ </xsl:choose> <xsl:choose> <xsl:when test="function-available('ipApp:GetMajorVersion') and ipApp:GetMajorVersion() >= 12">;POSITION:absolute;WIDTH:0px;</xsl:when> <xsl:otherwise>COMBO_BOX_STYLE1</xsl:otherwise> </xsl:choose> </xsl:attribute> <xsl:choose> (<xsl:when test="BOOLEAN_XPATH_EXPRESSIONx"> (<xsl:attribute name="disabled">true</xsl:attribute>)? </xsl:when>)+ </xsl:choose> <xsl:attribute name="value"> <xsl:value-of select="LEAF_XPATH1"/> </xsl:attribute> <xsl:choose> <xsl:when test="function-available('xdXDocument:getDOM')"> (<option/>)? <xsl:variable name="val" select="LEAF_XPATH1"/> <xsl:if test="not(REPEATING_LEAF_XPATH1[LEAF_XPATH2=$val] or $val='')"> <option selected="selected"> <xsl:attribute name="value"> <xsl:value-of select="$val"/> </xsl:attribute> <xsl:value-of select="$val"/> </option> </xsl:if> <xsl:for-each select=" REPEATING_LEAF_XPATH1"> <option> <xsl:attribute name="value"> <xsl:value-of select="LEAF_XPATH2"/> </xsl:attribute> <xsl:if test="$val=LEAF_XPATH2"> <xsl:attribute name="selected">selected </xsl:attribute> </xsl:if> <xsl:value-of select="LEAF_XPATH2"/> </option> </xsl:for-each> </xsl:when> <xsl:otherwise> <option> <xsl:value-of select="LEAF_XPATH1"/> </option> </xsl:otherwise> </xsl:choose> </select> </span>
COMBO_BOX_WITH_UNIQUE_VALUES_FROM_DATA_SOURCE:
-
<span class="xdComboBox xdBehavior_ComboBox" xd:xctname="combobox" style="COMBO_BOX_STYLE1"> <xsl:if test="function-available('ipApp:GetMajorVersion') and ipApp:GetMajorVersion() >= 12"> <select tabIndex="-1" disabled="true" style="STYLE_WIDTH1;VISIBILITY:hidden;WIDTH:100%;"/> <span xd:xctname="PlainText" hideFocus="1" class="xdTextBox xdBehavior_ComboBoxTextField" (accessKey="SINGLE_CHARACTER1")? title="ANY_STRING1" xd:binding="LEAF_XPATH1" (tabIndex="TAB_INDEX1")? (value="ANY_STRING")? xd:CtrlId="CONTROL_ID1" (xd:postbackModel="POSTBACKMODEL)? (INPUT_SCOPE)? (xd:datafmt="DATA_FMT_CTRL_COMBOBOX")?> <xsl:attribute name="style">STYLE_WIDTH1;POSITION:absolute;WIDTH:0px;WORD-WRAP:normal</xsl:attribute> (<xsl:variable name="val" select="LEAF_XPATH1"/>)? <xsl:choose> <xsl:when test="REPEATING_LEAF_XPATH1[LEAF_XPATH2 =$val]/."> <xsl:value-of select=" REPEATING_LEAF_XPATH1 [LEAF_XPATH2 =$val]/."/> </xsl:when> <xsl:otherwise> <xsl:value-of select="LEAF_XPATH1"/> </xsl:otherwise> </xsl:choose> </span> </xsl:if> <select (accessKey="SINGLE_CHARACTER1")? class="xdComboBox xdBehavior_Select" title="ANY_STRING1" size="1" xd:binding="LEAF_XPATH1" xd:xctname="dropdown" (value="ANY_STRING")? xd:CtrlId="CONTROL_ID1" (xd:postbackModel="POSTBACKMODEL)? (INPUT_SCOPE)? xd:boundProp="value"> <xsl:choose> <xsl:when test="function-available('ipApp:GetMajorVersion') and ipApp:GetMajorVersion() >= 12"> <xsl:attribute name="tabIndex">-1</xsl:attribute> </xsl:when> <xsl:otherwise> <xsl:attribute name="tabIndex">TAB_INDEX1</xsl:attribute> </xsl:otherwise> </xsl:choose> <xsl:attribute name="style">STYLE_WIDTH1 <xsl:choose> <xsl:when test="function-available('ipApp:GetMajorVersion') and ipApp:GetMajorVersion() >= 12">;POSITION:absolute;WIDTH:0px;</xsl:when> <xsl:otherwise>COMBO_BOX_STYLE1</xsl:otherwise> </xsl:choose> </xsl:attribute> <xsl:attribute name="value"> <xsl:value-of select="LEAF_XPATH1"/> </xsl:attribute> <xsl:choose> <xsl:when test="function-available('xdXDocument:getDOM')"> <option/> <xsl:variable name="val" select="LEAF_XPATH1"/> <xsl:if test="not(REPEATING_LEAF_XPATH1[LEAF_XPATH2=$val] or $val='')"> <option selected="selected"> <xsl:attribute name="value"> <xsl:value-of select="$val"/> </xsl:attribute> <xsl:value-of select="$val"/> </option> </xsl:if> <xsl:variable name="items"> <xsl:copy-of select="REPEATING_LEAF_XPATH1"/> </xsl:variable> <xsl:variable name="uniqueItems" select="msxsl:node-set($items)/*[not(LEAF_XPATH1= preceding::REPEATING_LEAF_XPATH1)]"/> <xsl:for-each select="$uniqueItems"> <option> <xsl:attribute name="value"> <xsl:value-of select="LEAF_XPATH2"/> </xsl:attribute> <xsl:if test="$val=LEAF_XPATH2"> <xsl:attribute name="selected">selected </xsl:attribute> </xsl:if> <xsl:value-of select="LEAF_XPATH2"/> </option> </xsl:for-each> </xsl:when> <xsl:otherwise> <option> <xsl:value-of select="LEAF_XPATH1"/> </option> </xsl:otherwise> </xsl:choose> </select> </span>
COMBO_BOX_WITH_UNIQUE_VALUES_FROM_DATA_SOURCE_AND_CONDITIONAL_FORMATTING:
-
<span class="xdComboBox xdBehavior_ComboBox" xd:xctname="combobox" style="COMBO_BOX_STYLE1"> <xsl:if test="function-available('ipApp:GetMajorVersion') and ipApp:GetMajorVersion() >= 12"> <select tabIndex="-1" disabled="true" style="STYLE_WIDTH1;VISIBILITY:hidden;WIDTH:100%;"/> <span xd:xctname="PlainText" hideFocus="1" class="xdTextBox xdBehavior_ComboBoxTextField" (accessKey="SINGLE_CHARACTER1")? title="ANY_STRING1" xd:binding="LEAF_XPATH1" (tabIndex="TAB_INDEX1")? (value="ANY_STRING")? xd:CtrlId="CONTROL_ID1" (xd:postbackModel="POSTBACKMODEL)? (INPUT_SCOPE)? (xd:datafmt="DATA_FMT_CTRL_COMBOBOX")?> <xsl:attribute name="style">STYLE_WIDTH1 <xsl:choose> (<xsl:when test="BOOLEAN_XPATH_EXPRESSIONx">COMBO_BOX_CONDITIONAL_FORMATTING </xsl:when>)+ </xsl:choose> <xsl:choose> (<xsl:when test="BOOLEAN_XPATH_EXPRESSIONx"> (<xsl:attribute name="contentEditable">false</xsl:attribute>)? </xsl:when>)+ </xsl:choose> ;POSITION:absolute;WIDTH:0px;WORD-WRAP:normal</xsl:attribute> (<xsl:variable name="val" select="LEAF_XPATH1"/>)? <xsl:choose> <xsl:when test="REPEATING_LEAF_XPATH1[LEAF_XPATH2 =$val]/."> <xsl:value-of select=" REPEATING_LEAF_XPATH1 [LEAF_XPATH2 =$val]/."/> </xsl:when> <xsl:otherwise> <xsl:value-of select="LEAF_XPATH1"/> </xsl:otherwise> </xsl:choose> </span> </xsl:if> <select (accessKey="SINGLE_CHARACTER1")? class="xdComboBox xdBehavior_Select" title="ANY_STRING1" size="1" xd:binding="LEAF_XPATH1" xd:xctname="dropdown" (value="ANY_STRING")? xd:CtrlId="CONTROL_ID1" (xd:postbackModel="POSTBACKMODEL)? (INPUT_SCOPE)? xd:boundProp="value"> <xsl:choose> <xsl:when test="function-available('ipApp:GetMajorVersion') and ipApp:GetMajorVersion() >= 12"> <xsl:attribute name="tabIndex">-1</xsl:attribute> </xsl:when> <xsl:otherwise> <xsl:attribute name="tabIndex">TAB_INDEX1</xsl:attribute> </xsl:otherwise> </xsl:choose> <xsl:attribute name="style">STYLE_WIDTH1 <xsl:choose> (<xsl:when test="BOOLEAN_XPATH_EXPRESSIONx">COMBO_BOX_CONDITIONAL_FORMATTING</xsl:when>)+ </xsl:choose> <xsl:choose> <xsl:when test="function-available('ipApp:GetMajorVersion') and ipApp:GetMajorVersion() >= 12">;POSITION:absolute;WIDTH:0px;</xsl:when> <xsl:otherwise>COMBO_BOX_STYLE1</xsl:otherwise> </xsl:choose> </xsl:attribute> (<xsl:choose> (<xsl:when test="BOOLEAN_XPATH_EXPRESSIONx"> (<xsl:attribute name="contentEditable">false</xsl:attribute>)? </xsl:when>)+ </xsl:choose>)? <xsl:attribute name="value"> <xsl:value-of select="LEAF_XPATH1"/> </xsl:attribute> <xsl:choose> <xsl:when test="function-available('xdXDocument:getDOM')"> <option/> <xsl:variable name="val" select="LEAF_XPATH1"/> <xsl:if test="not(REPEATING_LEAF_XPATH1[LEAF_XPATH2=$val] or $val='')"> <option selected="selected"> <xsl:attribute name="value"> <xsl:value-of select="$val"/> </xsl:attribute> <xsl:value-of select="$val"/> </option> </xsl:if> <xsl:variable name="items"> <xsl:copy-of select="REPEATING_LEAF_XPATH1"/> </xsl:variable> <xsl:variable name="uniqueItems" select="msxsl:node-set($items)/*[not(LEAF_XPATH1= preceding::REPEATING_LEAF_XPATH1)]"/> <xsl:for-each select="$uniqueItems"> <option> <xsl:attribute name="value"> <xsl:value-of select="LEAF_XPATH2"/> </xsl:attribute> <xsl:if test="$val=LEAF_XPATH2"> <xsl:attribute name="selected">selected </xsl:attribute> </xsl:if> <xsl:value-of select="LEAF_XPATH2"/> </option> </xsl:for-each> </xsl:when> <xsl:otherwise> <option> <xsl:value-of select="LEAF_XPATH1"/> </option> </xsl:otherwise> </xsl:choose> </select> </span>
DATA_FMT_CTRL_COMBOBOX: DATA_FMT_CAT_TIME or DATA_FMT_CAT_DATE or DATA_FMT_CAT_DATETIME or DATA_FMT_CAT_NUMBER or DATA_FMT_CAT_PERCENTAGE.
COMBO_BOX_CONDITIONAL_FORMATTING: LEAF_CONTROL_CONDITIONAL_FORMATTING_CAPTION COMBO_BOX_CONDITIONAL_FORMATTING.
COMBO_BOX_STYLE: Semicolon-delimited list of (STYLE_WIDTH?, STYLE_FONT?, STYLE_MARGIN?, STYLE_VERTICAL_ALIGN?, STYLE_TEXT_DECORATION?,STYLE_COLOR?, STYLE_BACKGROUND_COLOR?, STYLE_DIRECTION?, layout-grid: none?).
The following table lists control-specific attributes used by the combo box control.
Attribute |
Section |
---|---|
xd:allowNonMatching |
|
xd:binding |
|
xd:boundProp |
|
xd:CtrlId |
|
xd:datafmt |
|
xd:inputscope |
|
xd:num |
|
xd:postbackModel |
|
xd:xctname |