Uploaded image for project: 'Magnolia'
  1. Magnolia
  2. MAGNOLIA-5001

Listeners for execution of actions before/after each call of renderer - port to master

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Neutral
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.0
    • Component/s: rendering
    • Labels:
      None
    • Magnolia Release:
      5.0

      Description

      We need some logic to be done before/after call of renderer for direct area rendering implementation. Although we have tried several places where it can be done, we agreed on usage of listeners, see DAR review II.
      Such set of listeners is called before/after every call of render and we can reuse listeners in the future for different purposes (for example push/pop actions can be called in appropriate listeners).

      • Register such listener in rendering engine config (RenderingContext).
      • New instance of such listener per request.
      • Registering of multiple listeners is possible.
      • Listener is registered and instantiated by rendering engine and passed into rend. context.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved: