|Chane contextPath programmatically [message #892619]
||Thu, 28 June 2012 14:21
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...
|Re: Chane contextPath programmatically [message #893107 is a reply to message #892711]
||Mon, 02 July 2012 12:10
Am 29.06.2012 12:02, schrieb Ralf Sternberg:|
> the context path is what comes before the servlet path and is usually
> set at deployment time (e.g. derived from war file name):
> 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
> Regards, 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?
Powered by FUDForum
. Page generated in 0.01751 seconds