From jira-events at lists.jboss.org Wed Oct 24 09:04:02 2012
Content-Type: multipart/mixed; boundary="===============7820537536807955119=="
MIME-Version: 1.0
From: =?utf-8?q?Luk=C3=A1=C5=A1_Fry=C4=8D_=28JIRA=29_=3Cjira-events_at_lists=2E?=
=?utf-8?q?jboss=2Eorg=3E?=
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: Wed, 24 Oct 2012 09:04:02 -0400
Message-ID: <1242805764.30437.1351083842426.JavaMail.tomcat@jira02.app.mwc.hst.phx2.redhat.com>
--===============7820537536807955119==
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 ]
Luk=C3=A1=C5=A1 Fry=C4=8D moved RFPL-1925 to RF-12553:
---------------------------------------
Project: RichFaces (was: RichFaces Planning)
Key: RF-12553 (was: RFPL-1925)
Workflow: GIT Pull Request workflow (was: jira)
Affects Version/s: 4.1.0.Final
(was: 4.1.0.Final)
=
> 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
>
> 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">
>
>
>
>
>
>
>
>
>
>
>
> {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
--===============7820537536807955119==--