Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-25678

Evolve ConfigurationService to support list property and namespace

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 10.3
    • Component/s: Web UI
    • Release Notes Summary:
      Added a configuration service to allow Web UI properties definition with a namespace
    • Tags:
    • Sprint:
      nxGang Sprint 10.3.4, nxGang Sprint 10.3.5
    • Story Points:
      1

      Description

      We need to be able to define configuration property that can be extended/appended.

      We then want to be able to use namespaced properties to configure Web UI for:

      • change date format globally (ELEMENTS-736)
      • list supported locale (NXP-24964)
      • narrow document fetched properties (NXP-25512)
      • extend the list of json enrichers to be used when serializing a document (NXP-25512)

      Implementation details: properties can be marked as a list and if defined many times, values will be appended as comma separated values. You can override existing list property with the override attribute:

              <property name="nuxeo.list.value" list="true">foo</property>
              <property name="nuxeo.list.value">bar</property>
              <!-- nuxeo.list.value is now "foo,bar" -->
              <property name="nuxeo.list.value" override="true">newValue</property>
              <!-- nuxeo.list.value is now "newValue" -->
      

      We then put properties namespaced with org.nuxeo.web.ui into the Nuxeo.UI.config javascript namespace that Web UI (and even standalone elements) can access and use them.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 3 days
                  3d