[
https://issues.apache.org/jira/browse/FELIX-3879?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Bertrand Delacretaz updated FELIX-3879:
---------------------------------------
Description:
This patch adds an OverridableResourcesServlet to the webconsole, that handles
the /overridable path and returns an empty response for paths like
/system/console/overridable/scripts/*
If a Servlet service with a org.apache.felix.resources.servlet=true service
property is present, it is used to handle those requests instead.
This can be used to provide extension points in the webconsole where users can
replace default do-nothing scripts with their own variants.
I'ill provide another patch that uses this feature for progressive enhancement
of the console config page with help links.
was:
This patch adds an OverridableResourcesServlet to the webconsole, that handles
the /overridable path and returns an empty response for paths like
/system/console/overridable/scripts/confighelp.js
If a Servlet service with a org.apache.felix.resources.servlet=true service
property is present, it is used to handle those requests instead.
This can be used to provide extension points in the webconsole where users can
replace default do-nothing scripts with their own variants.
I'ill provide another patch that uses this feature for progressive enhancement
of the console config page with help links.
> [PATCH] overridable client scripts for the webconsole
> -----------------------------------------------------
>
> Key: FELIX-3879
> URL: https://issues.apache.org/jira/browse/FELIX-3879
> Project: Felix
> Issue Type: Improvement
> Components: Web Console
> Affects Versions: webconsole-4.0.0
> Reporter: Bertrand Delacretaz
> Priority: Minor
> Fix For: webconsole-4.0.2
>
> Attachments: FELIX-3879.patch
>
>
> This patch adds an OverridableResourcesServlet to the webconsole, that
> handles the /overridable path and returns an empty response for paths like
> /system/console/overridable/scripts/*
> If a Servlet service with a org.apache.felix.resources.servlet=true service
> property is present, it is used to handle those requests instead.
> This can be used to provide extension points in the webconsole where users
> can replace default do-nothing scripts with their own variants.
> I'ill provide another patch that uses this feature for progressive
> enhancement of the console config page with help links.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira