[richfaces-issues] [JBoss JIRA] Commented: (RF-8282) jQuery 1.4 AJAX requests broken if using Richfaces
Patrick Decat (JIRA)
jira-events at lists.jboss.org
Wed Jun 30 04:26:46 EDT 2010
[ https://jira.jboss.org/browse/RF-8282?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12537422#action_12537422 ]
Patrick Decat commented on RF-8282:
-----------------------------------
BTW, it also affects RF 3.3.3.Final.
The problem seems confirmed on the Sarissa side : http://sourceforge.net/projects/sarissa/forums/forum/256492/topic/3636252
> jQuery 1.4 AJAX requests broken if using Richfaces
> --------------------------------------------------
>
> Key: RF-8282
> URL: https://jira.jboss.org/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 Topchiy
> Priority: Critical
> Fix For: Future_3.X
>
> Attachments: screenshot-1.jpg, screenshot-1.jpg, test.xhtml
>
>
> 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>
> <a4j:commandLink id="saveScreenModeLink" actionListener="#{user.save}" />
> </a4j:form>
> </body>
> </f:view>
> </html>
> This code works fine in Safari 4 and FF 3.5, but throws seeminlgy msxml.dll related error in IE7 (see screenshot).
> 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/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the richfaces-issues
mailing list