template::widget::text (public)
template::widget::text element_reference tag_attributes
Defined in packages/acs-templating/tcl/widget-procs.tcl
Generate a text widget (not to be confused with textarea)
- 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):
- Testcases:
- No testcase defined.
Source code: upvar $element_reference element # Spell-checker array set spellcheck [template::util::spellcheck::spellcheck_properties -element_ref element] if { $element(mode) eq "edit" && $spellcheck(render_p) } { return "[input text element $tag_attributes] <br>[_ acs-templating.Spellcheck]: [menu "$element(id).spellcheck" [nsv_get spellchecker lang_options] $spellcheck(selected_option) {}]" } else { return [input text element $tag_attributes] }XQL Not present: PostgreSQL, Oracle Generic XQL file: packages/acs-templating/tcl/widget-procs.xql