[richfaces-issues] [JBoss JIRA] Commented: (RF-7190) rich:fileUpload broken in IE8

Mikhail Vitenkov (JIRA) jira-events at lists.jboss.org
Fri Jul 31 08:37:29 EDT 2009


    [ https://jira.jboss.org/jira/browse/RF-7190?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12478389#action_12478389 ] 

Mikhail Vitenkov commented on RF-7190:
--------------------------------------

Reproducible at RF-3.3.2-snapshot.

> rich:fileUpload broken in IE8
> -----------------------------
>
>                 Key: RF-7190
>                 URL: https://jira.jboss.org/jira/browse/RF-7190
>             Project: RichFaces
>          Issue Type: Bug
>          Components: browser compatibility, component-input
>    Affects Versions: 3.3.1
>         Environment: JBAS 4.2.3GA
> SEAM 2.1.1GA
> RF 3.3.1 GA
>            Reporter: Cody Lerum
>            Assignee: Tsikhon Kuprevich
>             Fix For: 3.3.2.CR1
>
>         Attachments: ui.pack.js
>
>
> I'm seeing an issue where the rich:fileUpload component isn't working under IE8. Seems to be working fine under Chrome, Safari, FF3 and IE7 (as well as IE8 Compatibility Mode). In IE8 the "Add Files" button is grayed out.
> The IE8 script debugger says the issue is with an invalid argument at line 8259 character 25 of ui.pack.js
> Here is the line:
> if(typeof q.addRule==Q){q.addRule(v,r)
> My component is used like so.
> <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="true" 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>
> Attaching the js file as well.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the richfaces-issues mailing list