- Methods: All Methods Documented Methods Hide Methods
- Source: Display Source Hide Source
- Variables: Show Variables Hide Variables
Class ::xowiki::formfield::label
::xowiki::formfield::label create ... \
[ -disableOutputEscaping:boolean (default "false") ]
Class Relations
- class: ::xotcl::Class
- superclass: ::xowiki::formfield::FormField
- subclass: ::xowiki::formfield::child_pages, ::xowiki::formfield::current_state
::xotcl::Class create ::xowiki::formfield::label \ -superclass ::xowiki::formfield::FormFieldMethods (to be applied on instances)
disableOutputEscaping (setter)
pretty_value (scripted)
return [expr {${:disableOutputEscaping} ? $v : [next]}]render_input (scripted)
if {${:disableOutputEscaping}} { ::html::t -disableOutputEscaping [:value] } else { ::html::t [:value] } # Include labels as hidden fields to avoid surprises when # switching field types to labels. set :type hidden nextrender_item (scripted)
# sanity check; required and label do not fit well together if {${:required}} {set :required false} next
- Methods: All Methods Documented Methods Hide Methods
- Source: Display Source Hide Source
- Variables: Show Variables Hide Variables