Uploaded image for project: 'Magnolia'
  1. Magnolia
  2. MAGNOLIA-3422

Freemarker: expose node depth

    XMLWordPrintable

Details

    • New Feature
    • Resolution: Fixed
    • Major
    • 4.3.9, 4.4.1
    • 4.3.8
    • core, freemarker
    • None
    • Yes

    Description

      Much like we expose @handle, @uuid, @name, we could expose a @depth and/or @level (our Content API exposes getLevel(), but the JCR equivalent is getDepth())

      Maybe this reopens the discussion for exposing all of the above as "regular" properties? Would be fine if we ensure a no-conflict order of resolution (properties, subnodes, then "meta" properties) and keep the @ notation for when we want to enforce the usage of the @meta properties.

      Are there any other read-only properties / methods not accessible via FreeMarker at the moment ?

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

                pbaerfuss Philipp Bärfuss
                gjoseph Magnolia International
                Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: