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

There is no utility methods that returns all the properties that are not special, needed when you dont know the name of the properties you want to display

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Won't Do
    • Major
    • None
    • 4.5.7
    • core, templating
    • None

    Description

      Either content.getProperties() and contentMap.keyset return all the properties in the node, including the special properties. In the previous API you could call getProperties and it would return all the non special properties. This is needed i.e. multiselect control, when you get the properties as 0,1... you dont know the names. One way could be to prefix this names with the node name like link0, link1 this way you could get all the properties that start with 'link', and the other way would be to provide a method that returns just the non special properties.

      Have a look at current method contentMap.keyset, it returns all the properties special an non special and also the special prefixed with @

      Checklists

        Acceptance criteria

        Attachments

          Activity

            People

              Unassigned Unassigned
              tmiyar Teresa Miyar
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Checklists

                  Task DoD