Uploaded image for project: 'Magnolia'
  1. Magnolia
  2. MAGNOLIA-5895 Rendering improvements
  3. MAGNOLIA-5839

Revise implementation of Rendering Listeners

    XMLWordPrintable

Details

    • Sub-task
    • Resolution: Fixed
    • Neutral
    • 5.4
    • None
    • rendering
    • None
    • Yes

    Description

      Current rendering listeners are quite limited as they are not able influence rendering engine in any way. We need to be able return some sort of status from listeners so rendering engine could react on that.

      1. Make info.magnolia.rendering.context.RenderingListener deprecated in favour of AbstractRenderingListener:
        Nonparametric constructor by be able instantiate by N2B.
        String AbstractRenderingListener.init() method (any logic from RederingListener s constructors should go there).
        String AbstractRenderingListener.before().
        String AbstractRenderingListener.after().
      2. The configuration of listeners should be moved from info.magnolia.rendering.renderer.registry.RendererRegistry to RenderingEngine as it doesn't belong there.
      3. Handle results of rendering listeners in RenderingEngine/RenderingFilter

      Attachments

        Issue Links

          Activity

            People

              rkovarik Roman Kovařík
              rkovarik Roman Kovařík
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: