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

[Content types] Modify model item references in view

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Major Major
    • 4.8.0
    • None
    • None
    • None

      The syntax to reference a model item in  view is

      <attribute-ref name="xxx" />

      This syntax is used to reference attributes, but also properties. This choice has been made because when someone wants to reference a model item in a view, he does not have to know if this item is an attribute or a property.

      Also, in CMS-10390, we will want to reference a model item via its path, not just its name.

      Here could be the new syntax:

      <item ref="xxx" />

            cbayle Caroline Bayle
            cbayle Caroline Bayle
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: