Magnolia Version 4.5.3
I am trying to use area inheritance but it is not working and there is not much
documentation on this feature. I have a parent page and a child page each of
which uses the same template. I am trying to inherit all components of an area
defined in the sidebar area and have even tried adding @Inherits without
specifying an inheritance mode. I am aware of the following bug which seems to
indicate that you would need to set a property in the components that this area
uses to mark them as inheritable but I don't know how to set component
properties or exactly what property name to set
(http://jira.magnolia-cms.com/browse/MAGNOLIA-4516) . Any help would be greatly
appreciated
@Area("sidebar")
@Inherits(components = ComponentInheritanceMode.ALL)
@AvailableComponentClasses({SocialSharing.class})
@Controller
public static class SideBarArea {
@RequestMapping("/healthguides/sidebar")
public String render() {
return "global/areas/sidebar.jsp";
}
}
--
Context is everything:
http://forum.magnolia-cms.com/forum/thread.html?threadId=5fff8264-8350-4af4-ab3b-f413efedc362
----------------------------------------------------------------
For list details, see http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------