Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCU-2036

ItemProvider: Explain 'For any data source' better

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Unresolved
    • Neutral
    • None
    • None
    • documentation-examples
    • None

    Description

      On this page are the itemProviders explained:
      https://documentation.magnolia-cms.com/display/DOCS62/Item+providers

       

      I don't understand this:

      For any data source

      $type class and description
      currentItemProvider info.magnolia.ui.editor.CurrentItemProviderDefinition
      Returns the parent node. Suitable for sub-forms only since it relies on a parent.

      The explanation text "Returns the parent node." implies that it operates on (JCR?) nodes. What is meant with this, "sub-forms only since it relies on a parent." also I don't understand, which paren is meant?

       

      Cause the title says: "For any datasource" which implies it will work for everything, which can't be meant.

       

      Is something meant like ??:

      • you have form and sub form
      • subform needs parent data -> use this item provider as it can grab any parent data => title comes from this? "For any subSet of data" and not "ant data source".

      Checklists

        Acceptance criteria

        Attachments

          Activity

            People

              Unassigned Unassigned
              cringele Christian Ringele
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: