You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Bertrand Delacretaz (JIRA)" <ji...@apache.org> on 2013/01/30 17:13:13 UTC

[jira] [Created] (FELIX-3879) [PATCH] overridable client scripts for the webconsole

Bertrand Delacretaz created FELIX-3879:
------------------------------------------

             Summary: [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


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.

--
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