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

[Content types] Modify model item references in view

    • 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" />

          [CMS-11571] [Content types] Modify model item references in view

          Caroline Bayle made changes -
          Status Original: Resolved [ 5 ] New: Closed [ 6 ]
          Caroline Bayle made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]
          Laurence Aumeunier made changes -
          Fix Version/s New: 4.8.0 [ 17990 ]
          Fix Version/s Original: 4.7.0 [ 17704 ]
          Caroline Bayle made changes -
          Link New: This issue Référence CMS-10390 [ CMS-10390 ]
          Caroline Bayle created issue -

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

              Created:
              Updated:
              Resolved: