Details
-
Story
-
Resolution: Fixed
-
Major
-
None
-
None
-
None
-
Empty show more show less
-
Yes
-
Yes
-
DevX 37, DevX 38
-
5
-
Yes
Description
As a developer I want to use magnolias 'Component Inheritance' feature when I use the Visual SPA Editor (SPA Renderer and frontend frameworks and REST endpoints) so that I can provide a very comfortable author experience for things like footers, headers and sidebars.
Acceptance Criteria
- When component inheritance is specified in the templates, then developers can also use this in front-end projects. They have some convenient way to get the inherited contents on sub-pages. Maybe the REST endpoint simply delivers the inherited content directly as if the inherited components were simply on the subpages.
Context
Component Inheritance is a popular feature in Magnolia templating. It allows authors to configure componets on a top page, and then all of the subpages automatically get that same configuration.
It is typically used for things like headers, footers and "extra" or "sidebar" content.
There are workarounds, such as managing that content to be shared across multiple pages in its own unique page, or in a separate app. But the authoring experience is not as good, its more complicated. It would be better to enable this useful features for SPA as well as freemarker templating.
Workaround
Use inheritance without rest inheritance in SPA:
https://github.com/bartoszstaryga/mgnl-spa-inheritance
For Discovery phase:
- Estimation for amount of time to implement.
- Investigate possible approaches.Â
Checklists
Attachments
Issue Links
- causes
-
PAGES-416 DOC: Indicate when page templating features are not supported with SPA Editor
-
- Open
-
- depends upon
-
MGNLREST-684 Support annotation for DeliveryEndpoint
-
- Closed
-
- is related to
-
MGNLPN-474 Get (stateless) personalized content from the Delivery endpoint
-
- Closed
-
- relates to
-
PAGES-1162 DOC: Component autogeneration and inheritance for SPA rendering
-
- Closed
-
-
PAGES-1128 Component Autogeneration should work in SPA Editor
-
- Closed
-
-
MGNLREST-732 Tune default configuration of jcrPagesDeliveryEndpoint_v2
-
- Closed
-
- mentioned in
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
1.
|
Implement |
|
Completed | Oanh Thai Hoang |
|
|||||||
2.
|
Review |
|
Completed | Javier Benito | ||||||||
3.
|
piQA |
|
Completed | Javier Benito | ||||||||
4.
|
QA |
|
Completed | Phong Le Quoc |