Skip to main content



      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 12:35 Go to next message
Eclipse UserFriend
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 13:03 Go to previous message
Eclipse UserFriend
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 13:03 Go to previous message
Eclipse UserFriend
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: Wed Jun 18 01:36:54 EDT 2025

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

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

Back to the top