For links between parent and child modules there are other ways. I can't
find the page for it right now, but it's
<menu ref="parent" /> in the child module site.xml
and
<menu ref="modules" /> in the parent site.xml
Cameron Jones wrote:
Is there a reason for this? Is the intention of a site to be for the
entire project or just an individual module? I would think that having
the paths auto generated would be a good feature like when there's a
reference to the parent site which is correctly generated as
"../index.html"
Alternatively, is there any way of having this path generated using
another means like property placeholders?
Thanks,
Cam
On 8/31/07, Dennis Lundberg <[EMAIL PROTECTED]> wrote:
This is the expected behavior.
Cameron Jones wrote:
Hi,
In my maven project when i generate the site for the parent and all
sibling modules the module's inherited menus have default context
paths from their deployment location and not the relative path from
the parent site. Is this expected behaviour or an issue?
For Example:
site.xml in parent:
...
<menu name="About" inherit="top">
<item name="About" href="/about.html" />
<item name="FAQ" href="/faq.html" />
</menu>
...
Same Generated index.html in both parent AND module:
...
<div id="navcolumn">
<h5>About</h5>
<ul>
<li class="none">
<a href="about.html">About</a>
</li>
<li class="none">
<a href="faq.html">FAQ</a>
</li>
</navcolumn>
...
Thanks,
Cam
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
Dennis Lundberg
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
Dennis Lundberg
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]