Can someone please tell me what I am doing wrong. I've read that menu
items, by default, do not get inherited. I'm using Maven 2.0.9. I
have a parent project with two child modules. The parent's site.xml
file looks like
<project>
<version position="right"/>
<body>
<breadcrumbs>
<item name="WebGUI Home (trunk)"
href="http://<mchineName>/webgui-trunk"/>
</breadcrumbs>
<menu name="Development Home">
<item name="Developer Page" href="developerItems.html"/>
<item name="Outstanding Items" href="outstandingItems.html"/>
</menu>
<menu name="Development Streams">
<item name="trunk" href="http://<mchineName>/webgui-trunk"/>
</menu>
<menu ref="modules"/>
<menu ref="reports"/>
</body>
</project>
And this generates exactly how I want it to. Now, one of the child
module's site.xml file looks like this
<project>
<version position="right"/>
<body>
<menu ref="parent"/>
<menu ref="reports"/>
</body>
</project>
However, when I look at the generated page (I'm using site:stage to
test this out), the menu on my child's page is the same as the
parent's. Specifically, there's no link back to the parent, and it
has menu entries for the "Development Home" and "Development Streams"
items which I don't want. The "Development Home" entries won't work
from here.
I've tried explicitly setting inherit="none" to the menu elements in
the parent site.xml, and it doesn't change a thing. Can someone
please explain what I am doing wrong? Because I'm stumped.
Thanks for any help,
Ed
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]