template::widget::attachment (public)

 template::widget::attachment element_reference tag_attributes

Defined in packages/acs-templating/tcl/widget-procs.tcl

Render an attachment input widget.

Parameters:
element_reference - Reference variable to the form element
tag_attributes - HTML attributes to add to the tag
Returns:
Form HTML for widget
Source code:

    upvar $element_reference element

    set output [input file element $tag_attributes]

    set element(name) $element(attach_name)
    set element(label) $element(attach_label)
    set element(html) $element(attach_html)

    append output [submit element $tag_attributes]

    return $output
XQL Not present:
Generic
PostgreSQL XQL file:
packages/acs-templating/tcl/widget-procs-postgresql.xql

Oracle XQL file:
packages/acs-templating/tcl/widget-procs-oracle.xql

[ hide source ] | [ make this the default ]
Show another procedure: