use of com.liferay.faces.alloy.component.inputfile.InputFile in project liferay-faces-alloy by liferay.
the class InputFileRendererBase method encodeAlloyAttributes.
@Override
public void encodeAlloyAttributes(FacesContext facesContext, ResponseWriter responseWriter, UIComponent uiComponent) throws IOException {
InputFile inputFile = (InputFile) uiComponent;
boolean first = true;
Boolean appendNewFiles = inputFile.isAppendNewFiles();
if (appendNewFiles != null) {
encodeAppendNewFiles(responseWriter, inputFile, appendNewFiles, first);
first = false;
}
encodeHiddenAttributes(facesContext, responseWriter, inputFile, first);
}
Aggregations