%3 ::xowiki::formfield::text ::xowiki::formfield::text add_statistics initialize is_clock_string_p render_input ::xowiki::formfield::FormField ::xowiki::formfield::FormField ::xowiki::formfield::text->::xowiki::formfield::FormField ::xowiki::formfield::localized_text ::xowiki::formfield::localized_text build_message_key_name convert_to_internal escape_message_keys pretty_value render_input ::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]

Methods (to be applied on instances)

  • build_message_key_name (scripted)

  • convert_to_internal (scripted)

  • escape_message_keys (scripted)

  • pretty_value (scripted)

  • render_input (scripted)