// and write it to the response.
String clientId = uiComponent.getClientId(facesContext);
Locale locale = facesContext.getViewRoot().getLocale();
if (inputFile.isShowProgress()) {
ProgressTableTemplate progressTableTemplate = getProgressTableTemplate(facesContext);
String progressTableHTML = progressTableTemplate.format(locale, clientId, inputFile.isAuto());
responseWriter.write(progressTableHTML);
}
// Otherwise, delegate writing to the delegate renderer. Note that this effectively a no-op with Mojarra and
// MyFaces, since they both delay writing of the entire <input type="file"...> ... </input> element until