<rich:fileUpload id="fileUploadId" | ||
addControlLabel="Add" | ||
allowFlash="true" | ||
fileUploadListener="#{ManagedBean.validateAction}"> | ||
<a4j:support event="onuploadcomplete" | ||
action="#{ManagedBean.validateResult}" | ||
reRender="validatePanelId"/> | ||
</rich:fileUpload> |
The above code will work fine in GoogleChrome. I am having Flash support. But in IE and FireFox the Add button is not enabled. After refreshing the address bar, it works. How to solve the problem.