From jira-events at lists.jboss.org Wed Sep 18 12:35:04 2013 Content-Type: multipart/mixed; boundary="===============1772868114269403760==" MIME-Version: 1.0 From: Brian Leathem (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: Wed, 18 Sep 2013 12:35:03 -0400 Message-ID: In-Reply-To: JIRA.12477436.1350631452000@jira02.app.mwc.hst.phx2.redhat.com --===============1772868114269403760== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable [ https://issues.jboss.org/browse/RF-12543?page=3Dcom.atlassian.jira.p= lugin.system.issuetabpanels:all-tabpanel ] Brian Leathem updated RF-12543: ------------------------------- Component/s: component-push/poll = > a4j:push after ajax-rendered does not have its javascript included > ------------------------------------------------------------------ > > Key: RF-12543 > URL: https://issues.jboss.org/browse/RF-12543 > Project: RichFaces > Issue Type: Bug > Security Level: Public(Everyone can see) = > Components: component-push/poll > Environment: RichFaces 4.2.2 FINAL > Reporter: nimo stephan > Fix For: 5-Tracking > > > I have a4j:push within my page which should be rendered only if the prope= rty "pushIsActivated" is true. When changing the property by a button to tr= ue, then I want to make a ajax-rendering which renders the a4j:push. Howeve= r, the javascript portion is not created within the aj4:push, hence the com= ponent does not work! I have to make a full page refresh, then the javascri= pt portion is inserted and a4j:push works as expected. However, I have to d= o a full page refresh. I guess, it is a bug, because the a4j:push has a ren= dered-property which can be changed by ajax, hence it has to work after aja= x-update. > {code} > > > > > > {code} > If I only render my-form after changing the property, a4j:push does not w= ork: > {code} > > > > > > {code} > I have to do a full page refresh, only then aj4:push works: > {code} > > > > {code} > Richfaces does insert the needed javascript only after a full page reques= t: > {code} >