[MAGNOLIA-5000] No script Renderer - port to master Created: 30/Apr/13  Updated: 13/May/13  Resolved: 06/May/13

Status: Closed
Project: Magnolia
Component/s: templating
Affects Version/s: None
Fix Version/s: 5.0

Type: Improvement Priority: Neutral
Reporter: Roman Kovařík Assignee: Roman Kovařík
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Cloners
clones MAGNOLIA-4996 No script Renderer - 4.5 Closed
dependency
is depended upon by MAGNOLIA-5002 Direct area rendering - port to master Closed
Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Date of First Response:

 Description   
  • MAGNOLIA-4990 introduces rendering listeners.
  • Areas without template script currently don't go into rendering engine and the listeners are not called.
  • We need the no-script-renderer to call listeners also for areas without template scripts.


 Comments   
Comment by Tobias Mattsson [ 06/May/13 ]

In AreaElement we have to still call the RenderingEngine in a try-catch-block with these three methods in a finally clause:

                } finally {
                    webContext.pop();
                    webContext.setPageContext(null);
                    restoreAttributesInWebContext(contextAttributes, WebContext.LOCAL_SCOPE);
                }
Generated at Mon Feb 12 04:01:02 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.