2.4.1.11 File Attachment Control
The file attachment control enables users to attach a file to a form (1).
-
FILE_ATTACHMENT ::= <span class="xdFileAttachment" hideFocus="1" style="FILE_ATTACHMENT_STYLE" tabStop="true" xd:binding="LEAF_XPATH" xd:boundProp="xd:inline" tabIndex="TAB_INDEX" xd:xctname="FileAttachment" xd:CtrlId="CONTROL_ID" (title="ANY_STRING")? (accessKey="SINGLE_CHARACTER")? (xd:disableEditing="yes")?/> <xsl:if test="function-available('xdImage:getImageUrl')"> <xsl:attribute name="src"> <xsl:value-of select="xdImage:getImageUrl(LEAF_XPATH)"/> </xsl:attribute> </xsl:if> </span>
FILE_ATTACHMENT_STYLE: Semicolon-delimited list of (STYLE_SIZE, STYLE_TEXT_DECORATION?, STYLE_BACKGROUND_COLOR?, STYLE_BORDER?, STYLE_FONT?, STYLE_COLOR?, STYLE_VERTICAL_ALIGN?)
LEAF_XPATH: MUST point to an XML node in the main data source.
The following table lists control-specific attributes used by the file attachment control.
Attribute |
Section |
---|---|
xd:binding |
|
xd:boundProp |
|
xd:CtrlId |
|
xd:disableEditing |
|
xd:xctname |
The xdImage:getImageUrl XSL function extension, as specified in section 2.4.3.5, is used by the file attachment control.