Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Platform - User Assistance (UA) » Infocenter web app: JBoss context-root breaks breadcrumbs
Infocenter web app: JBoss context-root breaks breadcrumbs [message #611079] Mon, 31 March 2008 16:25
David Porter is currently offline David PorterFriend
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
Previous Topic:Secure Infocenter
Next Topic:Infocenter Web app , Tomcat
Goto Forum:
  


Current Time: Thu Sep 19 22:39:05 GMT 2024

Powered by FUDForum. Page generated in 0.03836 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top