Class ::xowiki::formfield::test_item_name

::xowiki::formfield::test_item_name[i] create ...

Name sanitizer for test items
Defined in /var/www/openacs.org/packages/xowf/tcl/test-item-procs.tcl

Class Relations

  • class: ::xotcl::Class[i]
  • superclass: ::xowiki::formfield::text[i]
::xotcl::Class create ::xowiki::formfield::test_item_name \
     -superclass ::xowiki::formfield::text

Methods (to be applied on instances)

  • check=name (scripted)

    set valid [regexp {^[[:alnum:]:/_-]+$} $value]
    if {!$valid} {
      :uplevel {set __langPkg xowf}
    }
    return $valid
  • validator (setter)