[
https://issues.apache.org/jira/browse/FELIX-4568?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14069983#comment-14069983
]
Ferry Huberts commented on FELIX-4568:
--------------------------------------
ok.
the Config class:
{noformat}
package example;
import java.util.List;
import aQute.bnd.annotation.metatype.Meta;
@Meta.OCD(name = "Example", description = "Example")
public interface Config {
static final String DEFAULT_EXAMPLE = "string1=a,b|string2=c,d|string3=e,f";
@Meta.AD(deflt = DEFAULT_EXAMPLE, required = false, description = "The
example (default = " + DEFAULT_EXAMPLE + ")")
List<String> examples();
}
{noformat}
I'll attach be corresponding screenshot.
webconsole 4.2.2 (all in one)
> 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
>
> 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.2#6252)