Chane contextPath programmatically [message #892619] |
Thu, 28 June 2012 18:21 |
Eclipse User |
|
|
|
Hi,
ist it possible to customize the context path "..../rap"
programmatically and not with a branding when using a workbench?
We need to make this settable through a propertiese file so that our
customers can change this to their needs without writing plugins/fragment...
Regards,
Markus
|
|
|
|
Re: Chane contextPath programmatically [message #893107 is a reply to message #892711] |
Mon, 02 July 2012 16:10 |
Eclipse User |
|
|
|
Am 29.06.2012 12:02, schrieb Ralf Sternberg:
> Hi,
>
> the context path is what comes before the servlet path and is usually
> set at deployment time (e.g. derived from war file name):
>
> http://hostname/context/servlet
>
> If you're talking about the servlet path, for workbench applications,
> this can only be set in a branding extension, or in 1.5, directly in an
> entrypoint extension. I think it should be possible to add extensions
> programmatically...
>
> Regards, Ralf
>
Hi Ralf,
Yes, I was talking about the servlet path.
I tried adding the extension programmatically in my Activator, but The
problem is, that RAP is reading the extensions the
WorkbenchApplicationConfigurator called by the HttpServiceTracker.
So registering the extension in my Activators start method seems to be
too late. Any other suggestions?
Regards,
Markus
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04292 seconds