From jira-events at lists.jboss.org Fri Mar 23 12:26:47 2012 Content-Type: multipart/mixed; boundary="===============3867895351418605917==" MIME-Version: 1.0 From: Jean ANDRE (JIRA) To: richfaces-issues at lists.jboss.org Subject: [richfaces-issues] [JBoss JIRA] (RF-12038) IE8 - Object does not support this property or method - a4j:jsFunction Date: Fri, 23 Mar 2012 12:26:47 -0400 Message-ID: <1264409403.28576.1332520007454.JavaMail.tomcat@jira02.app.mwc.hst.phx2.redhat.com> In-Reply-To: 1674243330.3069.1331568048477.JavaMail.tomcat@jira02.app.mwc.hst.phx2.redhat.com --===============3867895351418605917== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable [ https://issues.jboss.org/browse/RF-12038?page=3Dcom.atlassian.jira.pl= ugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D12679002#com= ment-12679002 ] = Jean ANDRE commented on RF-12038: --------------------------------- Solution found by setting the following script inside the header. There is = some adapation for FireFox does not recognize: "window.event is undefined"= but now under FireFox we have the NPE. {code} = {code} To conclude, the solution is really to stop event propagation to ovoid the = NPE inside jsf.js.jsf but the way to be done must be adapted to each browse= r. = > IE8 - Object does not support this property or method - a4j:jsFunction > ---------------------------------------------------------------------- > > Key: RF-12038 > URL: https://issues.jboss.org/browse/RF-12038 > Project: RichFaces > Issue Type: Bug > Security Level: Public(Everyone can see) = > Components: component-a4j-core > Affects Versions: 4.2.0.Final > Environment: cssparser-0.9.6- guava-11.0.1 - hibernate-validator-= 4.2.0.Final - JSF/Mojarra 2.1.6 - springframework-3.0.6.RELEASE - sac-1.3 -= Windows 7 - IE 8.0.1.7601.17514 > Reporter: Jean ANDRE > Assignee: Brian Leathem > Labels: waiting_on_user > Attachments: index.xhtml, NestedWeb.zip, NestedWeb_RF-12038.zip, = ScreenShot_RF-12038.png > > > Under IE8, IE reports the following error message due to a javascript err= or. However, the page are well displayed and the application is running ok. > Object doesn't support this property or method line 177 caracter 1 > Object doesn't support this property or method line 177 caracter 99 > Under IE Debugger, the line is: > {code} > closeTab=3Dfunction(tabId){RichFaces.ajax("closeTab",null,{"incId":"1","p= arameters":{"tabId":tabId} } )};< > The caracter 99, is......................................................= ........................| (here) > {code} > This is a code generated by a4j:jsFunction from the XHTML > {code} > > > > > > > {code} > The rendered code is : > {code} > > > closeTab=3Dfunction(tabId){RichFaces.ajax("clo= seTab",null,{"incId":"1","parameters":{"tabId":tabId} } )}; > {code} > See also this link as we got almost a similar: https://bugzilla.redhat.co= m/show_bug.cgi?id=3D601360. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrato= rs: https://issues.jboss.org/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira =20 --===============3867895351418605917==--