Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Platform - User Assistance (UA) » Help contents - dynamically generated URL based on preference
Help contents - dynamically generated URL based on preference [message #474113] Thu, 26 June 2008 16:35 Go to next message
Edoardo Comar is currently offline Edoardo ComarFriend
Messages: 102
Registered: July 2009
Senior Member
Hi
Is it possible to have some element in the (X)HTML pages display some
dynmaically generated content?

Specifically we'd like a URL to point to a location that can be changed
in the preferences.

say the HTML contain something like
<a href="${my.plugin.preference.url}"/>
and the value for ${my.plugin.preference.url} is provided at runtime by
my plugin ....

is this possible ?


The help dox mention the extension point
org.eclipse.help.contentProducer This is used to provide help content
dynamically generated at runtime.
Re: Help contents - dynamically generated URL based on preference [message #474120 is a reply to message #474113] Wed, 02 July 2008 17:03 Go to previous message
Chris Goldthorpe is currently offline Chris GoldthorpeFriend
Messages: 815
Registered: July 2009
Senior Member
Edoardo Comar wrote:
> Hi
> Is it possible to have some element in the (X)HTML pages display some
> dynmaically generated content?
>
> Specifically we'd like a URL to point to a location that can be changed
> in the preferences.
>
> say the HTML contain something like
> <a href="${my.plugin.preference.url}"/>
> and the value for ${my.plugin.preference.url} is provided at runtime by
> my plugin ....
>
> is this possible ?
>
>
> The help dox mention the extension point
> org.eclipse.help.contentProducer This is used to provide help content
> dynamically generated at runtime.

The content producer sounds like the best way to go. That way you can
provide whatever content you want for those pages. The syntax you are
suggesting would not work in the TOC but you could instead create one
plugin which could serve any dynamic content.
Re: Help contents - dynamically generated URL based on preference [message #618944 is a reply to message #474113] Wed, 02 July 2008 17:03 Go to previous message
Chris Goldthorpe is currently offline Chris GoldthorpeFriend
Messages: 815
Registered: July 2009
Senior Member
Edoardo Comar wrote:
> Hi
> Is it possible to have some element in the (X)HTML pages display some
> dynmaically generated content?
>
> Specifically we'd like a URL to point to a location that can be changed
> in the preferences.
>
> say the HTML contain something like
> <a href="${my.plugin.preference.url}"/>
> and the value for ${my.plugin.preference.url} is provided at runtime by
> my plugin ....
>
> is this possible ?
>
>
> The help dox mention the extension point
> org.eclipse.help.contentProducer This is used to provide help content
> dynamically generated at runtime.

The content producer sounds like the best way to go. That way you can
provide whatever content you want for those pages. The syntax you are
suggesting would not work in the TOC but you could instead create one
plugin which could serve any dynamic content.
Previous Topic:Re: Eclipse 3.4 help system not working correctly on Ubuntu 7.10
Next Topic:Bugzilla has been opened for this (was Re: Eclipse 3.4 help system not working correctly on Ubuntu 7
Goto Forum:
  


Current Time: Thu Apr 25 22:03:46 GMT 2024

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

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

Back to the top