• Publicity: Public Only All

lang-widget-procs.tcl

Widgets for acs-lang. Currently just a special version of the select widget which adds a "lang" attribute to each option, as required by accessibility standards.

Location:
packages/acs-lang/tcl/lang-widget-procs.tcl
Created:
November 3, 2006
Author:
Don Baccus <dhogaza@pacifier.com>
CVS Identification:
$Id: lang-widget-procs.tcl,v 1.12 2024/09/11 06:15:48 gustafn Exp $

Procedures in this file

Detailed information

template::widget::select_locales (public)

 template::widget::select_locales element_reference tag_attributes

Generate a select widget for locales. We need a custom widget for this one case because accessibility standards require us to put out a "lang" attribute if the text is not in the same language as the rest of the page.

Parameters:
element_reference (required)
tag_attributes (required)

Partial Call Graph (max 5 caller/called nodes):
%3 test_locale_select_widget locale_select_widget (test acs-lang) template::widget::select_locales template::widget::select_locales test_locale_select_widget->template::widget::select_locales template::util::list_to_lookup template::util::list_to_lookup (public) template::widget::select_locales->template::util::list_to_lookup template::widget::merge_tag_attributes template::widget::merge_tag_attributes (public) template::widget::select_locales->template::widget::merge_tag_attributes

Testcases:
locale_select_widget
[ show source ]