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

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

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.2.3, 4.3.0
    • Fix Version/s: 4.4.0
    • Component/s: None
    • Labels:
      None
    • Sprint:
      4.4 RC2

      Description

      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>

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: