Uploaded image for project: 'Magnolia Site Module'
  1. Magnolia Site Module
  2. MGNLSITE-43

Site aware renderer for any renderer

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Neutral Neutral
    • 1.0.5
    • 1.0.2
    • None
    • None
    • Yes
    • Kromeriz 30
    • 2

      It is currently only possible to use the template prototype configured on a site when using Freemarker templates. This is because the site module only has one renderer that is based on FreemarkerRenderer.

      To support JSPs we need a SiteAwareJspRenderer. It would need to have a specific renderType, for instance site-jsp.

      Info

      The main functionality that the SiteAwareFreemarkerRenderer adds is the capability to merge page's template definition with a prototype template definition from the site and/or a fallback template definiton when specified.

      Possible solutions

      1. Duplicating functionality from SiteAwareFreemarkerRenderer
      2. Create a new wrapped renderer that will delegate to another renderer, here the freemarker or jsp renderer

        Acceptance criteria

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

                Created:
                Updated:
                Resolved:

                  Task DoD

                    Estimated:
                    Original Estimate - Not Specified
                    Not Specified
                    Remaining:
                    Remaining Estimate - 0d
                    0d
                    Logged:
                    Time Spent - 5m
                    5m