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 (required)
Reference variable to the form element
tag_attributes (required)
HTML attributes to add to the tag
Returns:
Form HTML for widget

Partial Call Graph (max 5 caller/called nodes):
%3 template::widget::input template::widget::input (public) template::widget::submit template::widget::submit (public) template::widget::attachment template::widget::attachment template::widget::attachment->template::widget::input template::widget::attachment->template::widget::submit

Testcases:
No testcase defined.
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:
PostgreSQL, Oracle
Generic XQL file:
packages/acs-templating/tcl/widget-procs.xql

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