[richfaces-issues] [JBoss JIRA] Resolved: (RF-8468) "eventsQueue" attribute of a4j:form doesn't work

Nick Belaevski (JIRA) jira-events at lists.jboss.org
Thu Mar 4 05:55:10 EST 2010


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

Nick Belaevski resolved RF-8468.
--------------------------------

    Resolution: Won't Fix
      Assignee: Nick Belaevski


Not a bug:

Form's "eventsQueue" attribute is for setting queue when form has ajaxSubmit="true":

	<a4j:form ajaxSubmit="true" eventsQueue="Test">
		<h:commandLink value="Link 1" />
		<h:commandLink value="Link 2" />
	</a4j:form>

Otherwise use:

	<a4j:form ajaxSubmit="true">
		<a4j:queue />
	
		<a4j:commandLink value="Link 1" />
		<h:commandLink value="Link 2" />
	</a4j:form>


> "eventsQueue" attribute of a4j:form doesn't work
> ------------------------------------------------
>
>                 Key: RF-8468
>                 URL: https://jira.jboss.org/jira/browse/RF-8468
>             Project: RichFaces
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>    Affects Versions: 3.3.3.CR1
>         Environment: RichFaces 3.3.3.CR1
> Seam: 2.1.1.GA
> Windows XP
> Firefox  3.5.8
>            Reporter: Denis Petrunin
>            Assignee: Nick Belaevski
>
> "eventsQueue" attribute of a4j:form doesn't work, ajax requests aren't queued.
> 1) Click "TEST" button
> 2) Wait ~1 sec
> 3) Click "TEST" button once more
> Expected result: ajax requests must be queued and processed one-by-one
> Actual result: ajax requests aren't queued, as result exception occurs: javax.servlet.ServletException: org.jboss.seam.core.LockTimeoutException: could not acquire lock on @Synchronized component: testBean
> ========== JSF view code
> <a4j:form eventsQueue="TestQueue">
>   <a4j:commandButton value="TEST" action="#{testBean.test}" />
> </a4j:form>
> ========== Java bean code
> @Name("testBean")
> @Scope(ScopeType.SESSION)
> public class TestBean {
>     public void test() throws InterruptedException {
>         Thread.sleep(60000);
>     }
> }
> ==========

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

        


More information about the richfaces-issues mailing list