Uploaded image for project: 'CMS'
  1. CMS
  2. CMS-9992

Content type attribute : Get the default-value from the configuration or i18n

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major Major
    • 4.4.0
    • 4.2.3, 4.3.0
    • None
    • None
    • 4.4 RC2

      Currently, it's impossible to use the syntax : i18n="true" or type="i18n" or config="true" or type="config" on default values of content types like it's possible for parameters (See ConfigurationHelper.parsePluginParameters(...)).

      Something like :

      <cms:metadata name="myAttribute" type="long">
          <label i18n="true">MY_LABEL_KEY</label>
          <description i18n="true">MY_DESC_KEY</description>
          <default-value type="config">my.config.parameter</default-value>
      </cms:metadata>

            cbayle Caroline Bayle
            bmaurel Bérénice Maurel
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: