use of org.olat.modules.forms.model.xml.AbstractElement in project OpenOLAT by OpenOLAT.
the class CompareEvaluationsFormController method updateElements.
private void updateElements(UserRequest ureq) {
List<EvaluationFormElementWrapper> elementWrappers = new ArrayList<>();
for (AbstractElement element : form.getElements()) {
appendsElement(ureq, element, elementWrappers);
}
flc.contextPut("elements", elementWrappers);
}
use of org.olat.modules.forms.model.xml.AbstractElement in project OpenOLAT by OpenOLAT.
the class EvaluationFormController method updateElements.
private void updateElements(UserRequest ureq) {
List<EvaluationFormElementWrapper> elementWrappers = new ArrayList<>();
for (AbstractElement element : form.getElements()) {
EvaluationFormElementWrapper wrapper = forgeElement(ureq, element);
if (wrapper != null) {
elementWrappers.add(wrapper);
}
}
elementWrapperList = elementWrappers;
flc.contextPut("elements", elementWrappers);
}
use of org.olat.modules.forms.model.xml.AbstractElement in project openolat by klemens.
the class CompareEvaluationsFormController method updateElements.
private void updateElements(UserRequest ureq) {
List<EvaluationFormElementWrapper> elementWrappers = new ArrayList<>();
for (AbstractElement element : form.getElements()) {
appendsElement(ureq, element, elementWrappers);
}
flc.contextPut("elements", elementWrappers);
}
use of org.olat.modules.forms.model.xml.AbstractElement in project openolat by klemens.
the class EvaluationFormController method updateElements.
private void updateElements(UserRequest ureq) {
List<EvaluationFormElementWrapper> elementWrappers = new ArrayList<>();
for (AbstractElement element : form.getElements()) {
EvaluationFormElementWrapper wrapper = forgeElement(ureq, element);
if (wrapper != null) {
elementWrappers.add(wrapper);
}
}
elementWrapperList = elementWrappers;
flc.contextPut("elements", elementWrappers);
}
Aggregations