template::widget::submit (public)

 template::widget::submit element_reference tag_attributes

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

Render a submit 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

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

Testcases:
No testcase defined.
Source code:

    upvar $element_reference element

    # always ignore value for submit widget
    set element(value) $element(label)
    
    return [input submit element [concat $tag_attributes {class prevent-double-click}]]
XQL Not present:
PostgreSQL, Oracle
Generic XQL file:
packages/acs-templating/tcl/widget-procs.xql

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