Richfaces DataTable issues in IE 6
roykachouh Dec 12, 2008 4:28 PMHi,
I am working on a simple application that will take a excel document using FileUpload, parse it and display the result in a rich:datatable.
What I have so far works perfectly in firefox 3.0.1, but the rows of my datatable are not displaying in IE 6.0.2. I am not sure what I am doing wrong, and I have been pulling my hair out on this one.
Below is the code for your reference. If anyone can help, that would be much appreciated.
Thanks!!
<body style="margin-top: 0px; margin-left: 0px;"> <h:form id="uploadForm"> <h1>Step 1: Upload a File</h1> <rich:fileUpload id="upload" addControlLabel="Choose File" immediateUpload="#{uploadListener.uploadImmediately}" reRender="table" acceptedTypes="xls" autoclear="true" listHeight="70" ontyperejected="javascript:alert('You can only upload Excel Files, with the extention .xls')" onsizerejected="javascript:alert('File is too big...the max file size is 10 MB')" maxFilesQuantity="#{uploadListener.maxFilesQuantity}" fileUploadListener="#{uploadListener.listener}"> <a4j:support event="onuploadcomplete" reRender="step2Header,resultsTable" /> </rich:fileUpload> <h1><h:outputText id="step2Header" value="Step 2: Review The Results" /></h1> <rich:dataTable id="resultsTable" var="result" value="#{uploadListener.parsedDocument.dataRecords}" rows="0"> <rich:column sortBy="#{result.tradeRecord.asOfDate}" rendered="true"> <f:facet name="header"> <h:outputText value="Trade Date"/> </f:facet> <h:outputText value="#{result.tradeRecord.asOfDate}"> <f:convertDateTime dateStyle="short"/> </h:outputText> </rich:column> <rich:column sortBy="#{result.tradeRecord.settlementDate}"> <f:facet name="header"> <h:outputText value="Settlement Date"/> </f:facet> <h:outputText value="#{result.tradeRecord.settlementDate}" rendered="true"> <f:convertDateTime dateStyle="short"/> </h:outputText> </rich:column> <rich:column> <f:facet name="header"> <h:outputText value="Settlement Date"/> </f:facet> <h:outputText value="tes "> </h:outputText> </rich:column> </rich:dataTable> </h:form> </body>