[JBoss JIRA] Created: (RF-7190) rich:fileUpload broken in IE8
by Cody Lerum (JIRA)
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
Affects Versions: 3.3.1
Environment: JBAS 4.2.3GA
SEAM 2.1.1GA
RF 3.3.1 GA
Reporter: Cody Lerum
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
16 years, 7 months
[JBoss JIRA] Created: (RF-6487) ToolTip shows old content in ajax mode.
by Alexander Dubovsky (JIRA)
ToolTip shows old content in ajax mode.
---------------------------------------
Key: RF-6487
URL: https://jira.jboss.org/jira/browse/RF-6487
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.3.0, 3.3.1
Environment: 3.3.0.GA
3.3.1.SNAPSHOT
Reporter: Alexander Dubovsky
Assignee: Nick Belaevski
Priority: Minor
Source:
<h:outputText id="text" value="ToolTip should be here">
<rich:toolTip mode="ajax" value="#{cComp.val}"></rich:toolTip>
</h:outputText>
<br />
<a4j:commandButton action="#{cComp.action}"
value="change" />
public void action() {
val += "-add";
}
# Point on text => toolTip is shown twice: the 1th time it was empty and placed in left upper corner; the 2th time it shows correct content.
# Click "change" button and point on text again.
Result: toolTip is shown twice: the 1th time it shows old content (from step 1); the 2th time all is OK.
Time interval between two appearances is short but is visible.
--
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
16 years, 7 months