use of org.olat.core.gui.components.form.flexible.impl.elements.FileElementImpl in project OpenOLAT by OpenOLAT.
the class FormUIFactory method addFileElement.
/**
* Add a file upload element
* @param name
* @param i18nKey
* @param formLayout
* @return
*/
public FileElement addFileElement(WindowControl wControl, String name, String i18nLabel, FormItemContainer formLayout) {
FileElement fileElement = new FileElementImpl(wControl, name);
setLabelIfNotNull(i18nLabel, fileElement);
formLayout.add(fileElement);
return fileElement;
}
use of org.olat.core.gui.components.form.flexible.impl.elements.FileElementImpl in project openolat by klemens.
the class FormUIFactory method addFileElement.
/**
* Add a file upload element
* @param name
* @param i18nKey
* @param formLayout
* @return
*/
public FileElement addFileElement(WindowControl wControl, String name, String i18nLabel, FormItemContainer formLayout) {
FileElement fileElement = new FileElementImpl(wControl, name);
setLabelIfNotNull(i18nLabel, fileElement);
formLayout.add(fileElement);
return fileElement;
}
Aggregations