Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Platform - User Assistance (UA) » cheatsheet : open related help with relative url
cheatsheet : open related help with relative url [message #1715848] Thu, 26 November 2015 15:21
Philippe Favrais is currently offline Philippe FavraisFriend
Messages: 23
Registered: April 2011
Junior Member
Hello,

I am creating cheatsheet xml file (myCheatsheet.xml) that i open in the cheatseet view from the file (meaning that the cheatsheet is not registered as a plugin).
Here you can see the structure of my project where the cheatsheet and html file are in different folders of the same project.
\test_project
\help
NewFile.html
image.gif
\Assitant
myCheatsheet.xml

From my cheatsheet i would like have "related help" contained in an Html file (NewFile.hmtl) and being displayed in eclipse help window).

Here is an example where from my cheatsheet i provide a link to an help html document.
<intro href="file:///D:/Demo/test_workspace/test_project/help/NewFile.html"/>

The above reference works, and the html file is opened in the Eclipse Help but the images in my html file are not shown in the Eclipse Help window. (in other browers the html file and image are correctly displayed)
Note that the url of the image is relative to the html file.
<img width=628 height=303 id="Object 2" src="SystemStack_files/image002.gif">
If i replace the relative URL by an absolute one, it works perfectly.

However, it really would like to use only relative url in my html file.
Moreover, i would also like to use an relative url between the cheatsheet xml file and the html file.

Does anybody have encounter that problem and/or have a solution or suggestion ?
Thank you in advance
Philippe
Previous Topic:HttpcontextId of RAP workbench
Next Topic:Need Assistance - Info Center Showing Both Browser Language And English
Goto Forum:
  


Current Time: Fri Sep 22 11:52:10 GMT 2017

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

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