[MGNLSTK-503] STKTemplate.java should not allocate the header by new Created: 09/Nov/09  Updated: 23/Jan/13  Resolved: 10/Nov/09

Status: Closed
Project: Magnolia Standard Templating Kit (closed)
Component/s: templates
Affects Version/s: 1.1.2
Fix Version/s: 1.2

Type: Improvement Priority: Major
Reporter: Christian Ringele Assignee: Philipp Bärfuss
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Template:
Acceptance criteria:
Empty

 Description   

When defining/overwriting a new class for the 'header' in site definition, the templates throw generally an exception.
This is due to the new allocation in the template class. The new allocation is always closer in the merging process than the defined in site definition.

For being able to use template definitions, the header value must be defined with the class property pointing to the adapted header class.
This has the impact, that standard STK templates can't be used anymore, because the STK standard templates don't know the new adapted class.


Generated at Mon Feb 12 07:27:39 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.