Class CmsLocalizationWidget

  • All Implemented Interfaces:
    I_CmsADEWidget, I_CmsWidget

    public class CmsLocalizationWidget
    extends A_CmsWidget
    implements I_CmsADEWidget
    Provides a standard HTML form input widget for overwriting localized values of a resource bundle, for use on a widget dialog.

    The resource bundle is configured with the widget configuration attribute. An optional key name to look up in the bundle can be given, too, in case it is different from the element name: key=mykey.

    The locale to get the value for can be configured, too, by adding a configuration directive: locale=en.

    Example: .

    To use the stored localization values and have the values of the resource bundles as fallback, use the CmsXmlMessages object.

    Since:
    6.5.4