Linking to a toc.xml which doesn't have any html contents [message #651973] |
Wed, 02 February 2011 10:19 |
Jesper Eskilson Messages: 134 Registered: July 2009 |
Senior Member |
|
|
Hello,
I'm trying to contribute a universal intro which when clicked on will
bring up the documentation contained in a plugin. In the "overview.xml"
file containing the "<introContent> ... " element, I have a link to the
toc.xml, like this:
http://org.eclipse.ui.intro/showHelpTopic?id=/com.iar.ide.co mmon.doc/toc.xml
This is, according to the javadoc in IHelpResource a valid syntax: "For
example. /myplugin/mytoc.xml or /myplugin/references/myclass.html are
vaild."
However, when clicking on the link displayed under "Overview" in the
welcome page, I get a browser page displaying the raw toc.xml code, with
a message at the top saying "This XML file does not appear to have any
style information associated with it. The document tree is shown below."
(The toc.xml does not have any html associated with it, so when clicking
on the topic in the help browser, the "default" toc representation is
displayed. If I add html content to toc.xml (i.e., adding
'topic="toc.html"'), then I can refer to
....showHelpTopic?id=/com.iar.ide.common.doc/toc.html, but I would prefer
not to do this.)
How can I write a "showHelpTopic" action so that the toc.xml is
displayed the same way as when the user clicks on the toc in the help
browser?
--
Jesper Eskilson
Developer
IAR Systems
|
|
|
Powered by
FUDForum. Page generated in 0.03005 seconds