You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Carsten Ziegeler (JIRA)" <ji...@apache.org> on 2014/12/29 13:57:13 UTC

[jira] [Updated] (FELIX-4710) Web Console: Display templated name hint for factory configuration entries

     [ https://issues.apache.org/jira/browse/FELIX-4710?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Carsten Ziegeler updated FELIX-4710:
------------------------------------
    Fix Version/s: webconsole-4.2.6

> Web Console: Display templated name hint for factory configuration entries
> --------------------------------------------------------------------------
>
>                 Key: FELIX-4710
>                 URL: https://issues.apache.org/jira/browse/FELIX-4710
>             Project: Felix
>          Issue Type: Improvement
>          Components: Web Console
>    Affects Versions: webconsole-4.2.2
>            Reporter: Stefan Seifert
>             Fix For: webconsole-4.2.6
>
>         Attachments: 141126_FELIX-4710_webconsole_namehint.patch, factoryconfig.gif, factoryconfig_namehint.gif
>
>
> currently for each factory configuration entry in the web console only a very cryptic name is displayed, consisting of the factory PID and a GUID. this is very inconvenient esp. if there are a lot of entries and the user want to edit a specific one:
> !factoryconfig.gif!
> proposal: the author of the OSGi service with factory configuration should be able to provide a "nameHint" template to display a nice human-readable name, and display the pid+gui only as tooltip:
> !factoryconfig_namehint.gif!
> attached is a patch with draft implementation of this based on an optional service property {{webconsole.configurationFactory.nameHint}} which can be set on the service which can reference other property names with placeholders. the web console then displays this name hint with the configured values replaced.
> example (using SCR annotation):
> {code:java}
> @Property(name = "webconsole.configurationFactory.nameHint", value = "{serviceName}: {ribbonHosts}")
> {code}
> this will help on a lot of services, e.g. factory configurations for log configuration an others.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)