Example usage for org.apache.wicket.util.value ValueMap getStringArray

List of usage examples for org.apache.wicket.util.value ValueMap getStringArray

Introduction

In this page you can find the example usage for org.apache.wicket.util.value ValueMap getStringArray.

Prototype

@Override
public String[] getStringArray(final String key) 

Source Link

Usage

From source file:org.obiba.onyx.quartz.core.engine.questionnaire.question.OpenAnswerDefinitionSuggestion.java

License:Open Source License

public List<String> getSuggestionItems() {
    ValueMap valueMap = openAnswer.getUIArgumentsValueMap();
    if (valueMap == null)
        return Collections.emptyList();
    String[] array = valueMap.getStringArray(SUGGESTION_ITEMS);
    return array == null ? Collections.<String>emptyList() : Arrays.asList(array);
}