From jira-events at lists.jboss.org Fri Oct 19 03:26:01 2012 Content-Type: multipart/mixed; boundary="===============6104353826053850062==" MIME-Version: 1.0 From: nimo stephan (JIRA) To: richfaces-issues at lists.jboss.org Subject: [richfaces-issues] [JBoss JIRA] (RF-12543) a4j:push after ajax-rendered does not have its javascript included Date: Fri, 19 Oct 2012 03:26:01 -0400 Message-ID: <2140475080.19975.1350631561359.JavaMail.tomcat@jira02.app.mwc.hst.phx2.redhat.com> --===============6104353826053850062== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable nimo stephan created RF-12543: --------------------------------- Summary: a4j:push after ajax-rendered does not have its javasc= ript included Key: RF-12543 URL: https://issues.jboss.org/browse/RF-12543 Project: RichFaces Issue Type: Bug Security Level: Public (Everyone can see) Environment: RichFaces 4.2.2 FINAL Reporter: nimo stephan I have a4j:push within my page which should be rendered only if the propert= y "pushIsActivated" is true. When changing the property by a button to true= , then I want to make a ajax-rendering which renders the a4j:push. However,= the javascript portion is not created within the aj4:push, hence the compo= nent does not work! I have to make a full page refresh, then the javascript= portion is inserted and a4j:push works as expected. However, I have to do = a full page refresh. I guess, it is a bug, because the a4j:push has a rende= red-property which can be changed by ajax, hence it has to work after ajax-= update. If I only render my-form after changing the property, a4j:push does not wor= k: I have to do a full page refresh, only then aj4:push works: Richfaces does insert the needed javascript only after a full page request: