use of org.olat.modules.forms.ui.FileUploadController in project OpenOLAT by OpenOLAT.
the class FileUploadHandler method getContent.
@Override
public PageRunElement getContent(UserRequest ureq, WindowControl wControl, PageElement element, PageElementRenderingHints hints) {
if (element instanceof FileUpload) {
FileUpload fileUpload = (FileUpload) element;
Controller ctrl = new FileUploadController(ureq, wControl, fileUpload);
return new PageRunControllerElement(ctrl);
}
return null;
}
use of org.olat.modules.forms.ui.FileUploadController in project openolat by klemens.
the class FileUploadHandler method getContent.
@Override
public PageRunElement getContent(UserRequest ureq, WindowControl wControl, PageElement element, PageElementRenderingHints hints) {
if (element instanceof FileUpload) {
FileUpload fileUpload = (FileUpload) element;
Controller ctrl = new FileUploadController(ureq, wControl, fileUpload);
return new PageRunControllerElement(ctrl);
}
return null;
}
Aggregations