Hi,

Am 16.11.2012 um 16:06 schrieb Raymond Auge:

> Since Felix has recently braught up the topic of webconsole and it's
> plugins, I'd like to highlight that there is a general disrespect in these
> of the context path assigned by the host application.

I do not completely understand the problem. The Web Console generally is 
registered at /system/console inside the context serving the Http Service. If 
this context happens to be a non-root context, the Web Console is registered 
such.

For example: If the Http Service is backed by the servlet context at 
/sample/context, the Web Console is accessible at 
/sample/context/system/console.

In addition the Web Console root path is configurable with /system/console 
being the default.

One problem is for plugins redirecting to know the correct path. For this, 
there exist two properties on the server side (request attribute) and the 
client side (global JavaScript variable) indicating the root path (including 
the servlet context path) of the Web Console and the path to the plugin being 
called (also including the servlet context path).

As long as plugins use those "variables", everything is fine.

Does that help ?

Regards
Felix

> 
> While it's the common assumption that these are running at the root context
> path, this limits the usability of webconsole and it's plugins in other
> HttpService implementations which may not place the webconsole at the root.
> 
> I just wanted to bring this up in advance, as if I start opening tickets
> for each individiual case it's going to get noisy.
> 
> Sincerely and thank you,
> - Ray

Reply via email to