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

The automatic view should display subattributes in fieldsets

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • 4.LATER
    • 4.5.0
    • None
    • None
    • 2 - Long term
    • 2 - Normal

      In the default view (model2content.xsl) of a content based on a view, when we try to display a attributes of the linked contents, we have something flat and with the title of the linked contents, even if the title has not been called.

      For example, we have :

      <cms:attribute-ref name="myLinkedContent">
          <cms:attribute-ref name="anAttribute"/>
      </cms:attribute-ref>

      Then we display this kind of view we have as a flat view :

      myLinkedContent           My linked content title
      anAttribute                     An attribute value

      Then we lost the information that anAttribute come from myLinkedContent and we have the linked content title information as a asked information which is not the case.

      I think we should have :

      myLinkedContent
          anAttribute                  An attribute value

      I don't know if the title should be repeat in the fieldset title or if the view has to call explicitely the title, but in the second case, that means we can't hide a fieldset if there is no information because title is always there.

            Unassigned Unassigned
            bmaurel Bérénice Maurel
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: