maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anne Gerodolle (JIRA)" <j...@codehaus.org>
Subject [jira] Commented: (MSITE-270) site.xml: menus inherited that should not
Date Tue, 01 Jul 2008 16:18:26 GMT

    [ http://jira.codehaus.org/browse/MSITE-270?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=140102#action_140102
] 

Anne Gerodolle commented on MSITE-270:
--------------------------------------

menu inheritance seems to work now on my example. (I had misspelled "inherit" in my example)
. The problem of NullPointerException is minor, as you may easily avoid it by specifying the
"URL" tag.
good job

> site.xml: menus inherited that should not
> -----------------------------------------
>
>                 Key: MSITE-270
>                 URL: http://jira.codehaus.org/browse/MSITE-270
>             Project: Maven 2.x Site Plugin
>          Issue Type: Bug
>          Components: inheritance, site descriptor
>    Affects Versions: 2.0-beta-6
>            Reporter: Jörg Hohwiller
>         Attachments: site-inherit-bug.zip
>
>
> I have a project with multiple levels of modules.
> In the toplevel project I declare a site-descriptor with some general menu's that have
no inherit attribute (I also tried inherit='none') together with 
>     <menu ref="parent" inherit="top"/>
>     <menu ref="modules" inherit="bottom"/>
>     <menu ref="reports" inherit="bottom"/>
> Now a module of the toplevel project that itself has modules declares a site-descriptor
with an additional regular menu that is inherited.
> However the site of that module contains the menus from the toplevel project that are
NOT declared to be inherited.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

Mime
View raw message