From jira-events at lists.jboss.org Fri Oct 26 16:14:01 2012 Content-Type: multipart/mixed; boundary="===============8248991336936124681==" MIME-Version: 1.0 From: Brian Leathem (JIRA) To: richfaces-issues at lists.jboss.org Subject: [richfaces-issues] [JBoss JIRA] (RF-12553) a4j:status doesn't work if there's a h:commandLink in the page Date: Fri, 26 Oct 2012 16:14:01 -0400 Message-ID: <164855283.38284.1351282441470.JavaMail.tomcat@jira02.app.mwc.hst.phx2.redhat.com> --===============8248991336936124681== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable [ https://issues.jboss.org/browse/RF-12553?page=3Dcom.atlassian.jira.p= lugin.system.issuetabpanels:all-tabpanel ] Brian Leathem reassigned RF-12553: ---------------------------------- Assignee: Pavol Pitonak QE, please verify this issue = > a4j:status doesn't work if there's a h:commandLink in the page > -------------------------------------------------------------- > > Key: RF-12553 > URL: https://issues.jboss.org/browse/RF-12553 > Project: RichFaces > Issue Type: Bug > Security Level: Public(Everyone can see) = > Affects Versions: 4.1.0.Final > Reporter: Guillaume Lancelin > Assignee: Pavol Pitonak > > Hi all, > The a4j:status tag seems not to work when a h:commandLink tag is in the s= ame page. > I made a little example to test it. > The bean : > {code:java} > package fr.mycompany.test; > import javax.enterprise.inject.Model; > import javax.inject.Inject; > import org.jboss.logging.Logger; > @Model > public class Test { > @Inject > private Logger logger; > public String launch() { > for (int i =3D 0; i < 20000; i++) { > logger.debug(i); > } > return null; > } > } > {code} > The page : > {code:xml} > xmlns:rich=3D"http://richfaces.org/rich" > xmlns:s=3D"http://jboss.org/seam/faces" xmlns:f=3D"http://java.sun.co= m/jsf/core" xmlns:ui=3D"http://java.sun.com/jsf/facelets"> > > > > > Traitement en cours ... > > >
> >
> >
> > {code} > When I click on the a4j:commandLink the a4j:status doesn't work and the f= ollowing log appears : > {code} > info [18:25:14.390]: Received 'begin' event from > info [18:25:15.251]: Received 'beforedomupdate' event from > debug[18:25:15.252]: Server returned responseText: > info [18:25:15.253]: Listing content of response changes element: > Element update for id=3Djavax.faces.ViewState > > info [18:25:15.255]: Received 'success' event from > info [18:25:15.256]: Received 'complete' event from > {code} > If I remove the line and then click on the a4j:commandLink the a4j:= status works and the following log appears : > {code} > debug[18:28:17.277]: New request added to queue. Queue requestGroupingId = changed to leForm:a4jLink > debug[18:28:17.277]: Queue will wait 0ms before submit > debug[18:28:17.278]: richfaces.queue: will submit request NOW > info [18:28:17.282]: Received 'begin' event from > info [18:28:17.905]: Received 'beforedomupdate' event from > debug[18:28:17.906]: Server returned responseText: > info [18:28:17.908]: Listing content of response changes element: > Element update for id=3Djavax.faces.ViewState > > debug[18:28:17.909]: richfaces.queue: ajax submit successfull > debug[18:28:17.910]: richfaces.queue: Nothing to submit > info [18:28:17.913]: Received 'success' event from > info [18:28:17.914]: Received 'complete' event from > {code} > I'm using Java 1.6.0_29, JBoss 6.1, mojarra 2.0.3_b5, RF 4.1.0-Final (but= someone told me [here|http://community.jboss.org/thread/175872?tstart=3D0]= that the problem appeared with the milestone 3), Seam 3.0.0-Final. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrato= rs For more information on JIRA, see: http://www.atlassian.com/software/jira --===============8248991336936124681==--