Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Platform - User Assistance (UA) » contentExtension - replacing an element in a help document
contentExtension - replacing an element in a help document [message #503017] Thu, 10 December 2009 15:09 Go to next message
Edoardo Comar is currently offline Edoardo ComarFriend
Messages: 102
Registered: July 2009
Senior Member
This is a multi-part message in MIME format.
--------------010806070608030004020609
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

Hi
according to the documentation,
http://help.eclipse.org/galileo/index.jsp?topic=/org.eclipse .platform.doc.isv/guide/ua_dynamic_extensions.htm

it should be possible to replace an element in a help file.

I can't make it to work nor find a working example of this capability.

By debugging org.eclipse.help.internal.dynamic.ExtensionHandler
it looks like the handling is only invoked for toc files, not for the
generic xhtml content.

I attach a sample project - two plugins one has this doc:

<body>
<h1>Sub Topic 2</h1>
Please enter your text here.
<br/>
<div > text before replace </div>
<br/>
<div id="tobereplaced"> text I expect to be <b>replaced !!!</b></div>
<br/>
<div > text after replace - before expected append </div>
<div id="tobeappended"/>
</body>

the other has

<body>
<div id="replace"> NEW <b>replaced</b> text !!!</div>

<div id="append"> <i>Appended </i>text !!!</div>
</body>
</html>


but the mechanism seem not to work.

any hints ?

--------------010806070608030004020609
Content-Type: application/zip;
name="myContentExtensionExample.zip"
Content-Transfer-Encoding: base64
Content-Disposition: inline;
filename="myContentExtensionExample.zip"

UEsDBBQACAAIAC15ijsAAAAAAAAAAAAAAAAIAAAAZWRvaGVscC8DAFBLBwgA AAAAAgAAAAAA
AABQSwMEFAAIAAgAOFSKOwAAAAAAAAAAAAAAABAAAABlZG9oZWxwLy5wcm9q ZWN0pZHNDsIg
EITP+hSmd4vePNCaqPGmMVEfAGFtMfwFqPHxhRYbqxcTbzPD7H4B8PIhxeQO 1nGtimyez7IJ
KKoZV1WRnU/b6SJblmNsrL4B9Rtw1HLjQ7kcj7AiEkpgugZhMGpdSKmWEpQv MXqpEKYFLmr0
bi4NF+xogAaT3Dq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AgA CAAteYo7AAAA
AAIAAAAAAAAAGgAAAAAAAAAAAAAAAAAzFQAAZWRvaGVscGV4dC9zcmMvZWRv aGVscGV4dC9Q
SwECFAAUAAgACAD2a4o7BUrzVJkBAADwAwAAKAAAAAAAAAAAAAAAAAB9FQAA ZWRvaGVscGV4
dC9zcmMvZWRvaGVscGV4dC9BY3RpdmF0b3IuamF2YVBLAQIUABQACAAIALJ4 ijuWso1AfAAA
AKwAAAAjAAAAAAAAAAAAAAAAAGwXAABlZG9oZWxwZXh0L3N1YnRvcGljMnJl cGxhY2VtZW50
LnhtbFBLBQYAAAAAHwAfAH0IAAA5GAAAAAA=
--------------010806070608030004020609--
Re: contentExtension - replacing an element in a help document [message #504557 is a reply to message #503017] Mon, 21 December 2009 09:10 Go to previous messageGo to next message
Edoardo Comar is currently offline Edoardo ComarFriend
Messages: 102
Registered: July 2009
Senior Member
It turned out that the internal DTD for the page was incorrect :
HTML instaed of html ...

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
....

The doc displayed fine though and the replacement failure was silent.

I could not find however how to get the content replacement work from a
fragment
https://bugs.eclipse.org/bugs/show_bug.cgi?id=297637
Re: contentExtension - replacing an element in a help document [message #504833 is a reply to message #503017] Tue, 22 December 2009 21:35 Go to previous messageGo to next message
Chris Goldthorpe is currently offline Chris GoldthorpeFriend
Messages: 815
Registered: July 2009
Senior Member
Is there a reason this code needs to be in a fragment?

Fragments work well for providing alternate translations, not so well for extending a bundle in other ways. While I don't know all of the reasons the only recommended use of fragments in Eclipse is to provide translation of resources.
Re: contentExtension - replacing an element in a help document [message #623799 is a reply to message #503017] Mon, 21 December 2009 13:56 Go to previous messageGo to next message
Edoardo Comar is currently offline Edoardo ComarFriend
Messages: 102
Registered: July 2009
Senior Member
It turned out that the internal DTD for the page was incorrect :
HTML instaed of html ...

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
....

The doc displayed fine though and the replacement failure was silent.

I could not find however how to get the content replacement work from a
fragment
https://bugs.eclipse.org/bugs/show_bug.cgi?id=297637
Re: contentExtension - replacing an element in a help document [message #623806 is a reply to message #503017] Tue, 22 December 2009 21:35 Go to previous message
Chris Goldthorpe is currently offline Chris GoldthorpeFriend
Messages: 815
Registered: July 2009
Senior Member
Is there a reason this code needs to be in a fragment?

Fragments work well for providing alternate translations, not so well for extending a bundle in other ways. While I don't know all of the reasons the only recommended use of fragments in Eclipse is to provide translation of resources.
Previous Topic:Jetty IO exceptions accessing help
Next Topic:Updating Infocenter help plugin issues
Goto Forum:
  


Current Time: Sun Dec 08 02:26:07 GMT 2024

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

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

Back to the top