template::widget::ampmFragment (public)
template::widget::ampmFragment element_reference fragment size type \ value [ mode ] [ tag_attributes ]
Defined in packages/acs-templating/tcl/date-procs.tcl
Create a widget that shows the am/pm selection
- Parameters:
- element_reference
fragment
size
type
value
mode (defaults to"edit"
)
tag_attributes (optional)
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
Source code: upvar $element_reference element array set attributes $tag_attributes set value [template::util::date::get_property $fragment $value] if { $mode ne "edit" } { set output {} append output "<input type=\"hidden\" name=\"$element(name).$fragment\" value=\"$value\">" append output $value return $output } else { return [template::widget::menu "$element(name).$fragment" { {A.M. am} {P.M. pm}} $value attributes] }XQL Not present: Generic, PostgreSQL, Oracle