On 7/11/06, Ted Husted <[EMAIL PROTECTED]> wrote:

I don't know what I'm doing wrong, but the menu URIs on the subsites
are not rendering correctly for me.

For some reason, they seem to be stripping
"http://struts.apache.org/"; out of all the URIs, so that a reference
to "http://struts.apache.org/1.x"; becomes "1.x", and a reference to
just "http://struts.apache.org/"; becomes an empty string.  Likewise
for the image references.

Is this a "feature"? Is there a base location being set someplace that
tells Maven to do this?

It's (somehow) related to the <distributionManagement>/<site>/<url> in
the pom.  It took me a few tries to get the links on the Tiles 2 site
to work.  If the directory name on the site matches the artifactId in
the pom, it works as designed.  If not, you have to add <url> elements
to force values at different levels.

Also, on the subsites, I'm getting two sets of the "Apache | Struts 1
| Struts 2 " links on the upper right.

See if they're re-defined in the site.xml for the modules.  I'm fairly
sure the links are inherited, so you should only need them in the top
level site.xml.  There are more site.xml inheritance mysteries that I
haven't figured out yet.

Good luck. :)

--
Wendy

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to