Infocenter web app: JBoss context-root breaks breadcrumbs [message #611079] |
Mon, 31 March 2008 16:25 |
David Porter Messages: 18 Registered: July 2009 |
Junior Member |
|
|
I am running an Eclipse infocenter as a web application on JBoss 4.0.5,
having followed the instructions in the Eclipse 3.4 M5 help.
Everything was working perfectly until I added a jboss-web.xml to the WAR
file. The jboss-web.xml includes a context-root element that creates a
more meaningful URL for the infocenter within the documentation area of my
company's web site.
The context-root looks something like this:
<jboss-web>
<context-root>/support/doc/product_name/version_number/help </context-root>
</jboss-web>
The problem is that now the breadcrumbs at the top of each help topic are
broken.
In an infocenter that does not use the JBoss context-root, breadcrumbs
work as they should. The HTML source looks like this:
<div class="help_breadcrumbs"><a href="../../../nav/0"
In an infocenter that uses the context-root, the source looks like this:
<div class="help_breadcrumbs"><a href="../../../../../../../nav/0"
In other words, the href is incorrect, having walked too far up the
directory tree.
Has anyone else come across this problem? Is there a workaround?
Thanks
|
|
|
Powered by
FUDForum. Page generated in 0.03836 seconds