[richfaces-issues] [JBoss JIRA] Resolved: (RF-9146) queue: if request grouping id not set - all requests seems similar.

Pavel Yaschenko (JIRA) jira-events at lists.jboss.org
Mon Aug 30 14:17:11 EDT 2010


     [ https://jira.jboss.org/browse/RF-9146?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Pavel Yaschenko resolved RF-9146.
---------------------------------

    Resolution: Done


> queue: if request grouping id not set - all requests seems similar.
> -------------------------------------------------------------------
>
>                 Key: RF-9146
>                 URL: https://jira.jboss.org/browse/RF-9146
>             Project: RichFaces
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: core
>    Affects Versions: 4.0.0.Milestone1
>            Reporter: Ilya Shaikovsky
>            Assignee: Pavel Yaschenko
>            Priority: Critical
>             Fix For: 4.0.0.Milestone3
>
>
> 		<a4j:queue /> 
> 				<a4j:commandButton value="Update 1" action="#{userBean.now1}"
> 					render="now1" status="ajaxStatus_1">
> 				</a4j:commandButton>
> 				<a4j:commandButton value="Update 2" action="#{userBean.now2}"
> 					render="now2" status="ajaxStatus_2">
> 				</a4j:commandButton>
> Both actions has sleep for 5 seconds. 
> If I click 1 than 2 and than 1 again - what I see in log:
> debug[17:29:38.873]: New request added to queue. Queue requestGroupId changed to undefined
> debug[17:29:38.877]: Queue will wait 0ms before submit
> debug[17:29:38.882]: richfaces.queue: will submit request NOW
> info [17:29:38.887]: Received 'begin' event from <input id=j_idt66:j_idt85 class=class org.richfaces.component.UICommandButton ...>
> debug[17:29:39.273]: New request added to queue. Queue requestGroupId changed to undefined
> debug[17:29:39.274]: Queue will wait 0ms before submit
> debug[17:29:39.275]: richfaces.queue: Waiting for previous submit results
> debug[17:29:39.718]: Similar request currently in queue
> debug[17:29:39.719]: Combine similar requests and reset timer
> debug[17:29:39.720]: Queue will wait 0ms before submit
> debug[17:29:39.721]: richfaces.queue: Waiting for previous submit results
> info [17:29:43.946]: Received 'beforedomupdate' event from <input id=j_idt66:j_idt85 class=class org.richfaces.component.UICommandButton ...>
> debug[17:29:43.951]: Server returned responseText: <?xml version="1.0" encoding="utf-8"?> <partial-response><changes><update id="j_idt66:now1"><![CDATA[<span id="j_idt66:now1">qwer wer we r</span>]]></update><update id="javax.faces.ViewState"><![CDATA[4534539995427297793:7924366598625177624]]></update></changes></partial-response>
> info [17:29:43.959]: Listing content of response changes element:
> Element update for id=j_idt66:now1
> <update id="j_idt66:now1"><![CDATA[<span id="j_idt66:now1">qwer wer we r</span>]]></update>
> Element update for id=javax.faces.ViewState
> <update id="javax.faces.ViewState"><![CDATA[4534539995427297793:7924366598625177624]]></update>
> the requests from 1 and 2 - combined.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the richfaces-issues mailing list