template::widget::merge_tag_attributes (public)

 template::widget::merge_tag_attributes element_reference \
    tag_attributes

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

Consolidates the logics to compute the final tag attributes by merging those explicitly supplied and those in the element definition.

Parameters:
element_reference (required)
tag_attributes (required)
Returns:
dict

Partial Call Graph (max 5 caller/called nodes):
%3 template::form::render template::form::render (private) template::widget::merge_tag_attributes template::widget::merge_tag_attributes template::form::render->template::widget::merge_tag_attributes template::widget::block template::widget::block (public) template::widget::block->template::widget::merge_tag_attributes template::widget::checkbox_text template::widget::checkbox_text (public) template::widget::checkbox_text->template::widget::merge_tag_attributes template::widget::comment template::widget::comment (public) template::widget::comment->template::widget::merge_tag_attributes template::widget::date template::widget::date (public) template::widget::date->template::widget::merge_tag_attributes

Testcases:
No testcase defined.
Source code:
    upvar $element_reference element

    if { [info exists element(html)] } {
        foreach {key value} $element(html) {
            dict lappend tag_attributes $key {*}$value
        }
    }

    return $tag_attributes
XQL Not present:
PostgreSQL, Oracle
Generic XQL file:
packages/acs-templating/tcl/widget-procs.xql

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