felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Felix Meschberger (JIRA)" <j...@apache.org>
Subject [jira] Commented: (FELIX-1043) Support WebConsole plugins without requiring extending the AbstractWebConsolePlugin
Date Sat, 18 Apr 2009 12:31:19 GMT

    [ https://issues.apache.org/jira/browse/FELIX-1043?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12700472#action_12700472

Felix Meschberger commented on FELIX-1043:

One approach would be to add a new service property -- felix.webconsole.title -- which is
used as the title when rendering the plugin.

This property would als be used as a trigger to have a proxy, which renders the header and
footer (as does the AbstractWebConsolePlugin does) and calls the plugin's service() method
to render the content.

> Support WebConsole plugins without requiring extending the AbstractWebConsolePlugin
> -----------------------------------------------------------------------------------
>                 Key: FELIX-1043
>                 URL: https://issues.apache.org/jira/browse/FELIX-1043
>             Project: Felix
>          Issue Type: Sub-task
>          Components: Web Console
>    Affects Versions: webconsole-1.2.8
>            Reporter: Felix Meschberger
> Currently the web console can be extended by registering a javax.servlet.Servlet service
with a special service property naming the label of the plugin. For ease of use (namely reusing
the header and footer renderings), plugins must extend the AbstractWebConsolePlugin.
> The drawback of this requirement is, that any plugins require a class from the web console
plugin. It would be better to just register a plain servlet which is rendered by the web console
with headers and footers on behalf of the plugin.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message