use of org.olat.modules.forms.EvaluationFormsModule in project OpenOLAT by OpenOLAT.
the class FileUploadHandler method createPageElement.
@Override
public PageElement createPageElement(Locale locale) {
EvaluationFormsModule evaluationFormModule = CoreSpringFactory.getImpl(EvaluationFormsModule.class);
FileUpload part = new FileUpload();
part.setId(UUID.randomUUID().toString());
part.setMaxUploadSizeKB(evaluationFormModule.getMaxFileUploadLimitKB());
return part;
}
use of org.olat.modules.forms.EvaluationFormsModule in project openolat by klemens.
the class FileUploadHandler method createPageElement.
@Override
public PageElement createPageElement(Locale locale) {
EvaluationFormsModule evaluationFormModule = CoreSpringFactory.getImpl(EvaluationFormsModule.class);
FileUpload part = new FileUpload();
part.setId(UUID.randomUUID().toString());
part.setMaxUploadSizeKB(evaluationFormModule.getMaxFileUploadLimitKB());
return part;
}
Aggregations