[ 
https://issues.apache.org/jira/browse/DOXIASITETOOLS-96?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14527193#comment-14527193
 ] 

Michael Osipov commented on DOXIASITETOOLS-96:
----------------------------------------------

Does 
[{{project/@combine.self}}|http://maven.apache.org/doxia/doxia-sitetools/doxia-decoration-model/decoration.html#class_project]
 work for you?

> Flexible site descriptor inheritance
> ------------------------------------
>
>                 Key: DOXIASITETOOLS-96
>                 URL: https://issues.apache.org/jira/browse/DOXIASITETOOLS-96
>             Project: Maven Doxia Sitetools
>          Issue Type: New Feature
>          Components: Decoration model
>            Reporter: Sebb
>
> Inheritance as currently implemented means that <head> elements (for example) 
> are inherited,
> Descendants can either accept the <head> or replace it completely with their 
> own version.
> There's no concept of merging such elements, though this would be quite 
> useful on occasion.
> My suggestion is to add an optional name (or id) to elements such as <head>, 
> <footer> (when implemented), <custom> etc.
> Elements with the same name would replace their parent, as at present.
> Elements with different names would be merged.
> Since ordering is important for some elements, the name would be used to 
> define the order (i.e. alphabetical).
> If not specified, the name would default to "main", which by happy 
> co-incidence is roughly in the middle of the alphabet.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to