[
https://issues.apache.org/jira/browse/FELIX-4710?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Stefan Seifert updated FELIX-4710:
----------------------------------
Description:
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.
this will help on a lot of services, e.g. factory configurations for log
configuration an others.
was:
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.
> 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
> 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.
> 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)