From jira-events at lists.jboss.org Thu Jan 17 05:39:19 2008 Content-Type: multipart/mixed; boundary="===============8875617720332825152==" MIME-Version: 1.0 From: Sergey Halipov (JIRA) To: richfaces-issues at lists.jboss.org Subject: [richfaces-issues] [JBoss JIRA] Commented: (RF-1771) a4j:jsFunction 'oncomplete' event does not work properly in Opera Date: Thu, 17 Jan 2008 05:39:19 -0500 Message-ID: <11052969.1200566359519.JavaMail.jira@cloud.prod.atl2.jboss.com> In-Reply-To: 15580762.1198494823774.JavaMail.jira@cloud.prod.atl2.jboss.com --===============8875617720332825152== 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=3Dcomments#action_1239= 5446 ] = = Sergey Halipov commented on RF-1771: ------------------------------------ You should set MAVEN_OPTS environment variable to provide additional parame= ters for JVM with maven. For example I've set this variable with following = value: MAVEN_OPTS=3D"-Xms128m -Xmx512m -XX:MaxPermSize=3D128m" See java -X for more details. > 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.2.0, 3.1.4 > Environment: Fedora 8, Opera 9.25 > Reporter: Andrei Zaharov > Assigned To: Nick Belaevski > 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"%> > > > > > > > >