Class ::xowiki::formfield::boolean_checkbox

::xowiki::formfield::boolean_checkbox[i] create ... \
           [ -default (default "t") ]

Class Relations

  • class: ::xotcl::Class[i]
  • superclass: ::xowiki::formfield::checkbox[i]
::xotcl::Class create ::xowiki::formfield::boolean_checkbox \
     -superclass ::xowiki::formfield::checkbox

Methods (to be applied on instances)

  • check=options (scripted)

    return [expr {$value in {t f ""}}]
  • default (setter)

  • initialize (scripted)

    # should be with cvs head message catalogs:
    set :options "{{} t}"
    next
  • value_if_nothing_is_returned_from_form (scripted)

    if {[:is_disabled]} {
      return $default
    } else {
      return f
    }