[richfaces-issues] [JBoss JIRA] Commented: (RF-5375) Poll is stopped forever if it is dropped from queue

Nick Belaevski (JIRA) jira-events at lists.jboss.org
Tue Dec 16 13:11:54 EST 2008


    [ https://jira.jboss.org/jira/browse/RF-5375?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12442925#action_12442925 ] 

Nick Belaevski commented on RF-5375:
------------------------------------

Test case: 

<html 
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:a4j="http://richfaces.org/a4j">
	<head>
		<title>Events check page</title>
	</head>
	<body>
		<f:view>
			<a4j:queue size="2" sizeExceededBehavior="dropNext" />
			
			<h:form>
				<a4j:jsFunction action="#{oversizeBean.fireDelay}" name="function1" />	
				<a4j:jsFunction action="#{oversizeBean.fireDelay}" name="function2" />	
				
				<script>
					function1(); 
					function2();				
				</script>
				
				<a4j:poll interval="1000" />
				<a4j:status startText="...start..." />
			</h:form>
		</f:view>
	</body>	
</html>  

	public void fireDelay() {
		try {
			Thread.sleep(2000);
		} catch (InterruptedException e) {
			throw new FacesException(e);
		}
	}



> Poll is stopped forever if it is dropped from queue
> ---------------------------------------------------
>
>                 Key: RF-5375
>                 URL: https://jira.jboss.org/jira/browse/RF-5375
>             Project: RichFaces
>          Issue Type: Bug
>          Components: planning_all
>    Affects Versions: 3.3.0
>            Reporter: Nick Belaevski
>            Assignee: Nick Belaevski
>            Priority: Critical
>             Fix For: 3.3.0
>
>   Original Estimate: 6 hours
>  Remaining Estimate: 6 hours
>
> The same could also apply to a4j:push

-- 
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