[MAGNOLIA-4126] Direct area rendering - 4.5 Created: 21/Dec/11  Updated: 22/Jul/13  Resolved: 30/Apr/13

Status: Closed
Project: Magnolia
Component/s: rendering, templating
Affects Version/s: None
Fix Version/s: 4.5.9

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

Issue Links:
Cloners
is cloned by MAGNOLIA-5002 Direct area rendering - port to master Closed
dependency
depends upon MAGNOLIA-4990 Rendering listeners - 4.5 Closed
depends upon MAGNOLIA-4996 No script Renderer - 4.5 Closed
documentation
to be documented by DOCU-414 Direct Area Rendering Closed
to be documented by DOCU-441 Direct Area Rendering for JSP is not ... Closed
relation
is related to MAGNOLIA-5126 Direct Area Rendering for JSP doesn't... Closed
is related to MAGNOLIA-5003 Provide Integration Test for crawling... 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)
Release notes required:
Yes
Date of First Response:

 Description   

Currently doesn't work.

http://localhost:8080/demo-features/stage.html

AggregatorFilter fails to find the template definition to use. RenderingFilter then tries to serve the area as a stream which fails since it doesn't have a child jcr:data.

Direct paragraph rendering does work.
http://localhost:8080/demo-features/stage/component.html



 Comments   
Comment by Jan Haderka [ 30/Apr/13 ]

AggregationState

63  private String targetContent; // for direct (area) rendering

should be removed as well no?

Other than that it looks good now. Can you please also create issue for adding integration test for crawling over few areas (preferably of different types) when crawling over pages?
Thanks.

Comment by Roman Kovařík [ 30/Apr/13 ]

Integration test: MAGNOLIA-5003
targetContent property was removed:
https://git.magnolia-cms.com/gitweb/?p=magnolia_main.git;a=commitdiff;h=073dd4e69a359fdc86b5397a24c565a7c45ffa93

Comment by Jan Haderka [ 30/Apr/13 ]

Direct area rendering is brand new feature that allows clients to render portions of the pages. In order to specify which area to be rendered they need to use selectors to specify area name. Only areas that have area node in the repo are directly renderable. This needs to be documented and should be mentioned in the release notes.

Generated at Mon Feb 12 03:52:54 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.