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

Carsten Ziegeler commented on FELIX-4568:
-----------------------------------------

[~maili...@hupie.com] Thanks! I think the web console works correctly. The 
problem you're facing now, is that file install does not support anything else 
but string values (see 
http://felix.apache.org/site/apache-felix-file-install.html). Therefore you end 
up with a string value in the configuration and then the web console displays 
everything correctly.
However, fileinstall supports two different formats for configurations, .cfg is 
the simple properties format, while if you use the extension .config you can 
specify the configuration in the format the Felix ConfigAdmin implementation is 
storing configurations, so in your case:
networkInterfaces=("a","b","c")
would create three values a, b, and c

> webconsole doesn't recognise pipe '|' as list separator
> -------------------------------------------------------
>
>                 Key: FELIX-4568
>                 URL: https://issues.apache.org/jira/browse/FELIX-4568
>             Project: Felix
>          Issue Type: Bug
>          Components: Web Console
>    Affects Versions: webconsole-4.2.2
>         Environment: Linux x64
>            Reporter: Ferry Huberts
>         Attachments: Screenshot of the example.png, 
> bug.webconsole.BugWebconsole.cfg, bug.webconsole.jar
>
>
> with (bnd call)
>   Config config = Configurable.createConfigurable(Config.class, props);
> I create a Config object.
> In Config is a
>   List<String> entries();
> the default for this is 'a|b|c'
> bnd uses the pipe '|' character to split the Strings
> webconsole uses the comma ',' character to split
> which one is it doing the right thing? :-) 



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

Reply via email to