if (binding != null) {
binding.invoke(facesContext, new Object[] { e });
}
} else if (e instanceof UploadAjaxActionEvent) {
UploadAjaxActionEvent uploadActionEvent = (UploadAjaxActionEvent) e;
FacesContext facesContext = FacesContext.getCurrentInstance();
ExternalContext externalContext = facesContext.getExternalContext();
AjaxContext ajaxContext = AjaxContextImpl.getCurrentInstance(facesContext);
String uid = uploadActionEvent.getUploadId();
String actionString = uploadActionEvent.getAction();
if ("progress".equals(actionString)) {
setupProgressBarValueExpression(facesContext, uid);
Map<String, Object> sessionMap = externalContext.getSessionMap();
Map<String, Integer> requestsSizeMap = (Map<String, Integer>) sessionMap.get(FileUploadConstants.REQUEST_SIZE_BEAN_NAME);