Uploaded image for project: 'Magnolia UI'
  1. Magnolia UI
  2. MGNLUI-1602

Refactore ContentPresenter, JcrContainer and ContentPresenterDefinition

    XMLWordPrintable

Details

    • Task
    • Resolution: Fixed
    • Neutral
    • 5.0
    • 5.0
    • None
    • None
    • RC 1

    Description

      AbstractContentPresenter and AbstractJcrContainer both define an identical method

      Iterator<ColumnDefinition> getColumnsIterator()
      

      As both are used in the defining classes to loop aver the ColumnDefinitions we actually also do more processing that required.
      Dropping it from AbstractJcrContainer would allow to make the containers unaware of ViewTypes as well.

      ConfiguredContentPresenterDefinition should be a simple definition and not contain any logic - hence the filtering of disabled ColumnDefinitions should be moved e.g. to AbstractContentPresenter.

      Checklists

        Acceptance criteria

        Attachments

          Activity

            People

              dlipp Daniel Lipp
              dlipp Daniel Lipp
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Checklists

                  Task DoR