I just ran into an issue on IE8 where if the allowFlash is set to true IE will throw a JS script error and grey out the "add Files Button". This only happens in IE8 and works fine in IE8 Compatibility mode.
I opened a JIRA issue on it, but is anyone else seeing this?
https://jira.jboss.org/jira/browse/RF-7190
Works fine in Chrome, Safari4, FF3 and IE7
<rich:modalPanel id="fileUpload" width="420" height="205" keepVisualState="true"> <f:facet name="header"> <h:outputText value="Upload Files" /> </f:facet> <f:facet name="controls"> <h:panelGroup> <h:graphicImage value="/img/close.png" styleClass="hidelink" id="hidelinkFile"/> <rich:componentControl for="fileUpload" attachTo="hidelinkFile" operation="hide" event="onclick"/> </h:panelGroup> </f:facet> <h:form id="fileUploadForm"> <rich:fileUpload fileUploadListener="#{sfopportunity.uploadSFOpportunityFile}" listHeight="125" maxFilesQuantity="10" id="upload" addControlLabel="Add Files" immediateUpload="false" acceptedTypes="pdf, doc, docx, xls, xlsx, txt, csv, jpg, jpeg, gif, bmp, tif, tiff" allowFlash="false" autoclear="true"> <a:support event="onuploadcomplete" reRender="info" oncomplete="#{rich:component('fileUpload')}.hide()"/> <f:facet name="label"> <h:outputText value="{_KB}KB of {KB}KB uploaded --- {mm}:{ss}" /> </f:facet> </rich:fileUpload> </h:form> </rich:modalPanel>[/url]
No problem, we'll check.