Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Platform - User Assistance (UA) » Please confirm allowable link_to path structures using PLUGINS_ROOT
Please confirm allowable link_to path structures using PLUGINS_ROOT [message #623356] Tue, 26 May 2009 15:37
Lee Anne Kowalski is currently offline Lee Anne KowalskiFriend
Messages: 54
Registered: July 2009
Member
Hello,

Would someone on the Eclipse UA team please confirm which of the
following are supposed to work when specified in the link_to attribute?
And which one you would consider is a "best practice"?

Given a doc plug-in with:
pluginID = edition1_1
toc file = edition1_1.xml
anchorID in edition1_1.xml = comps

Trying to anchor into that anchorID using link_to, I see the following
behaviors:

link_to="/../edition1_1/edition1_1.xml#comps Works in Eclipse 3.4.1

link_to="/edition1_1/edition1_1.xml#comps Works


link_to="../edition1_1/edition1_1.xml#comps Works (this is also
in the help doc example in ua_help_content_nested.htm topic)

link_to="PLUGINS_ROOT/edition1_1/edition1_1.xml#comps Works

link_to="/PLUGINS_ROOT/edition1_1/edition1_1.xml#comps Does Not work

Now, the help topic on Content Extensions
( http://help.eclipse.org/ganymede/index.jsp?topic=/org.eclips e.platform.doc.isv/guide/ua_dynamic_extensions.htm)
says that the format of the 'path" attribute is:
/pluginID/path/file.xml#elementID

So, is it a bug that link_to="/PLUGINS_ROOT/<pluginID>/<tocfile>#anchorID"
does not work?

Or is PLUGINS_ROOT not useful for contributing into an anchor?

Is the best practice to use the path attribute format? For example:
link_to="/pluginID/path/file.xml#anchorID"

Thanks in advance!
--Lee Anne
Previous Topic:Force Welcome page for product to open docked?
Next Topic:Please confirm allowable link_to path structures using PLUGINS_ROOT
Goto Forum:
  


Current Time: Thu Dec 18 08:45:35 GMT 2014

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

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