use of org.olat.core.gui.components.form.flexible.elements.TextBoxListElement in project openolat by klemens.
the class EPTagViewController method initForm.
@Override
protected void initForm(FormItemContainer formLayout, Controller listener, UserRequest ureq) {
setFormDescription("tags.view.header");
Map<String, String> tagsMap = new HashMap<>();
for (String tag : tags) {
tagsMap.put(tag, tag);
}
TextBoxListElement tagListElement = uifactory.addTextBoxListElement("artefact.tags", null, "tag.input.hint", tagsMap, formLayout, getTranslator());
tagListElement.setEnabled(false);
}
Aggregations