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

Site aware renderer for any renderer

    XMLWordPrintable

Details

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

    Description

      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

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Checklists

                    Task DoD

                    Time Tracking

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