Stefan Seifert created FELIX-4710:
-------------------------------------
Summary: 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
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_namehint.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.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.
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)