%3 ::xowiki::formfield::text ::xowiki::formfield::text ::xowiki::formfield::FormField ::xowiki::formfield::FormField ::xowiki::formfield::text->::xowiki::formfield::FormField ::xowiki::formfield::localized_text ::xowiki::formfield::localized_text ::xowiki::formfield::localized_text->::xowiki::formfield::text ::xowiki::formfield::localized_richtext ::xowiki::formfield::localized_richtext ::xowiki::formfield::localized_richtext->::xowiki::formfield::localized_text ::xowiki::formfield::richtext ::xowiki::formfield::richtext ::xowiki::formfield::localized_richtext->::xowiki::formfield::richtext

Class ::xowiki::formfield::localized_text

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

This class can be used to provide an interface for specifying internationalized text strings saved in message keys via input from a form. When editing the content provided via the input field is saved together with an item-specific message keys in the message key tables via lang::util::convert_to_i18n. This formfield class is especially useful for xowiki items which have no language-prefix (e.g. folders or links). In other cases it is probably still a better idea to create same named pages with different language prefixes.
See Also:
lang::util::convert_to_i18n
Defined in /var/www/openacs.org/packages/xowiki/tcl/form-field-procs.tcl

Class Relations

  • class: ::xotcl::Class[i]
  • superclass: ::xowiki::formfield::text[i]
  • subclass: ::xowiki::formfield::localized_richtext[i]
::xotcl::Class create ::xowiki::formfield::localized_text \
     -superclass ::xowiki::formfield::text

Variables

::xowiki::formfield::localized_text set __default_metaclass ::xotcl::Class
::xowiki::formfield::localized_text set __default_superclass ::xotcl::Object