From jira-events at lists.jboss.org Wed Jan 16 07:46:41 2008 Content-Type: multipart/mixed; boundary="===============4933511372154398389==" MIME-Version: 1.0 From: Aleksej Yanul (JIRA) To: richfaces-issues at lists.jboss.org Subject: [richfaces-issues] [JBoss JIRA] Assigned: (RF-1771) a4j:jsFunction 'oncomplete' event does not work properly in Opera Date: Wed, 16 Jan 2008 07:46:41 -0500 Message-ID: <21628388.1200487601869.JavaMail.jira@cloud.prod.atl2.jboss.com> In-Reply-To: 15580762.1198494823774.JavaMail.jira@cloud.prod.atl2.jboss.com --===============4933511372154398389== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable [ http://jira.jboss.com/jira/browse/RF-1771?page=3Dall ] Aleksej Yanul reassigned RF-1771: --------------------------------- Assignee: Aleksej Yanul (was: Sergey Halipov) > a4j:jsFunction 'oncomplete' event does not work properly in Opera > ----------------------------------------------------------------- > > Key: RF-1771 > URL: http://jira.jboss.com/jira/browse/RF-1771 > Project: RichFaces > Issue Type: Bug > Affects Versions: 3.1.3 > Environment: Fedora 8, Opera 9.25 > Reporter: Andrei Zaharov > Assigned To: Aleksej Yanul > Fix For: 3.2.0, 3.1.4 > > > It's impossible to use variable 'data' received from server using a4j:js= Function ('oncomplete'). A4j log generates message: 'Error evaluate oncompl= ete function undefined'. = > It looks like what 'window.eval(newscript);' in function 'A4J.AJAX.finish= Request' doesn't execute in Opera cause variable 'data' defined in local co= ntext. But using 'eval(newscript);' instead 'window.eval(newscript);' works= properly. > JSP: > <%@ taglib uri=3D"http://richfaces.org/a4j" prefix=3D"a4j"%> > <%@ taglib uri=3D"http://java.sun.com/jsf/html" prefix=3D"h"%> > <%@ taglib uri=3D"http://java.sun.com/jsf/core" prefix=3D"f"%> > > > > > > > >