From jira-events at lists.jboss.org Wed Sep 23 23:44:49 2009 Content-Type: multipart/mixed; boundary="===============7937376258159565208==" MIME-Version: 1.0 From: Dave Chen (JIRA) To: richfaces-issues at lists.jboss.org Subject: [richfaces-issues] [JBoss JIRA] Created: (RF-7923) inline javascript is not processed for ajax call Date: Wed, 23 Sep 2009 23:44:49 -0400 Message-ID: <1176027581.1253763889257.JavaMail.jboss@jira01.app.mwc.hst.phx2.redhat.com> --===============7937376258159565208== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable inline javascript is not processed for ajax call ------------------------------------------------ Key: RF-7923 URL: https://jira.jboss.org/jira/browse/RF-7923 Project: RichFaces Issue Type: Bug Environment: Richfaces 3.3.1 = Reporter: Dave Chen In ajax response, we use Tomahawk to add script and inline script into head= section, from debug, = the ajax response includes the following: = = ... = = ... = = = ... = createFoo(1,2); = .... = = we got the error: = debug[16:12:19,879]: call selectSingleNode for id=3D org.ajax4jsf.oncomplet= e = debug[16:12:19,889]: Call request oncomplete function after processing upda= tes = debug[16:12:19,919]: call selectSingleNode for id=3D _ajax:data = error[16:12:19,929]: Error evaluate oncomplete function undefined = error[16:12:19,929]: Exception on status change: = >From the error message, the inline script is not processed, so the createF= oo(...) is not defined. = = -- = This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: htt= ps://jira.jboss.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira =20 --===============7937376258159565208==--