[JBoss JIRA] Created: (RF-8282) jQuery 1.4 AJAX requests broken if using Richfaces
by Oleg T (JIRA)
jQuery 1.4 AJAX requests broken if using Richfaces
--------------------------------------------------
Key: RF-8282
URL: https://jira.jboss.org/jira/browse/RF-8282
Project: RichFaces
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: browser compatibility, third-party
Affects Versions: 3.2.2
Environment: Windows XP, Internet Explorer 7.0
Mac OS , Firefox 3.5.7
Reporter: Oleg T
Priority: Critical
If external jQuery 1.4 is used on the same page as richfaces, all asynchronous requests are not working in Internet Explorer (confirmed version 7) with very peculiar error message: "This method cannot be called until open method has been called". jQuery alone works as expected.
Here's the test code to reproduce the problem:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:a4j="http://richfaces.org/a4j">
<f:view>
<head>
<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4/jquery.min.js"> </script>
</head>
<body id="wide">
<script language="JavaScript" type="text/javascript">
jQuery(document).ready(function() {
jQuery.ajax({
url: '/',
cache: false,
//context: this,
success: function(html) {
alert('success!');
},
error: function (XMLHttpRequest, textStatus, errorThrown) {
alert('failed: ' + errorThrown.message);
}
});
}
);
</script>
<a4j:form style="display:none">
<a4j:commandLink id="saveScreenModeLink" actionListener="#{user.saveScreenMode}" />
<h:inputHidden id="screenMode" value="#{userInfoBean.screenMode}"/>
</a4j:form>
</body>
</f:view>
</html>
This code works fine in Safari 4 and FF 3.5, but throws http://grab.by/1Sm0 in IE7.
If you remove a4j tag it works in IE7 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
13 years, 8 months
[JBoss JIRA] Created: (RF-8960) The file permission for selected directories are set to 777 (rwsrwsrwt) for release ZIP
by Lukas Fryc (JIRA)
The file permission for selected directories are set to 777 (rwsrwsrwt) for release ZIP
---------------------------------------------------------------------------------------
Key: RF-8960
URL: https://jira.jboss.org/browse/RF-8960
Project: RichFaces
Issue Type: Bug
Security Level: Public (Everyone can see)
Affects Versions: 4.0.0.Milestone1
Environment: http://downloads.jboss.org/richfaces/milestones/4.0.X/4.0.0.M1/richfaces-...
(using ZipInfo 3.00 of 20 April 2009, by Greg Roelofs and the Info-ZIP group.)
Reporter: Lukas Fryc
Priority: Minor
?rwsrwsrwt 2.0 unx 0 b- stor 10-Jul-15 21:28 richfaces-4.0.0.20100715-M1/
?rwsrwsrwt 2.0 unx 0 b- stor 10-Jul-15 21:28 richfaces-4.0.0.20100715-M1/artifacts/
?rwsrwsrwt 2.0 unx 0 b- stor 10-Jul-15 21:28 richfaces-4.0.0.20100715-M1/artifacts/framework/
-rw-r--r-- 2.0 unx 13759 b- defN 10-Jul-15 21:28 richfaces-4.0.0.20100715-M1/artifacts/framework/richfaces-commons-api-4.0.0.20100715-M1-sources.jar
-rw-r--r-- 2.0 unx 20827 b- defN 10-Jul-15 21:28 richfaces-4.0.0.20100715-M1/artifacts/framework/richfaces-commons-api-4.0.0.20100715-M1.jar
-rw-r--r-- 2.0 unx 107905 b- defN 10-Jul-15 21:28 richfaces-4.0.0.20100715-M1/artifacts/framework/richfaces-core-api-4.0.0.20100715-M1-sources.jar
-rw-r--r-- 2.0 unx 77186 b- defN 10-Jul-15 21:28 richfaces-4.0.0.20100715-M1/artifacts/framework/richfaces-core-api-4.0.0.20100715-M1.jar
-rw-r--r-- 2.0 unx 657914 b- defN 10-Jul-15 21:28 richfaces-4.0.0.20100715-M1/artifacts/framework/richfaces-core-impl-4.0.0.20100715-M1-sources.jar
-rw-r--r-- 2.0 unx 772793 b- defN 10-Jul-15 21:28 richfaces-4.0.0.20100715-M1/artifacts/framework/richfaces-core-impl-4.0.0.20100715-M1.jar
?rwsrwsrwt 2.0 unx 0 b- stor 10-Jul-15 21:29 richfaces-4.0.0.20100715-M1/artifacts/ui/
-rw-r--r-- 2.0 unx 20739 b- defN 10-Jul-15 21:28 richfaces-4.0.0.20100715-M1/artifacts/ui/richfaces-components-api-4.0.0.20100715-M1-sources.jar
-rw-r--r-- 2.0 unx 30173 b- defN 10-Jul-15 21:28 richfaces-4.0.0.20100715-M1/artifacts/ui/richfaces-components-api-4.0.0.20100715-M1.jar
-rw-r--r-- 2.0 unx 4703 b- defN 10-Jul-15 21:28 richfaces-4.0.0.20100715-M1/artifacts/ui/richfaces-components-impl-4.0.0.20100715-M1-sources.jar
-rw-r--r-- 2.0 unx 16225 b- defN 10-Jul-15 21:28 richfaces-4.0.0.20100715-M1/artifacts/ui/richfaces-components-impl-4.0.0.20100715-M1.jar
-rw-r--r-- 2.0 unx 337046 b- defN 10-Jul-15 21:28 richfaces-4.0.0.20100715-M1/artifacts/ui/richfaces-components-ui-4.0.0.20100715-M1-sources.jar
-rw-r--r-- 2.0 unx 486162 b- defN 10-Jul-15 21:28 richfaces-4.0.0.20100715-M1/artifacts/ui/richfaces-components-ui-4.0.0.20100715-M1.jar
?rwsrwsrwt 2.0 unx 0 b- stor 10-Jul-15 21:29 richfaces-4.0.0.20100715-M1/docs/
?rwsrwsrwt 2.0 unx 0 b- stor 10-Jul-15 21:29 richfaces-4.0.0.20100715-M1/docs/javadocs/
drwxr-xr-x 2.0 unx 0 b- stor 10-Jul-15 21:28 richfaces-4.0.0.20100715-M1/docs/javadocs/richfaces-core-api/
drwxr-xr-x 2.0 unx 0 b- stor 10-Jul-15 21:09 richfaces-4.0.0.20100715-M1/docs/javadocs/richfaces-core-api/META-INF/
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 9 months