[richfaces-issues] [JBoss JIRA] (RF-12092) a4j:poll : a4j:status never clears
Juraj Huska (JIRA)
jira-events at lists.jboss.org
Thu Apr 19 07:58:18 EDT 2012
[ https://issues.jboss.org/browse/RF-12092?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Juraj Huska updated RF-12092:
-----------------------------
Workaround Description:
1. use named _<a4j:status>_
2. so the example will look like
{code:xml}
<h:form id="mainForm">
<a4j:poll id="ajaxPoll" interval="5000" enabled="true" render="helloText">
<a4j:ajax status="nameStatus" />
</a4j:poll>
<a4j:status id="a4jstatus" name="nameStatus">
<f:facet name="start">
<img src='/appiq/images/ajax-loader.gif' /> -->
</f:facet>
</a4j:status>
<h:outputText id="helloText" value="hello" />
</h:form>
{code}
> a4j:poll : a4j:status never clears
> ----------------------------------
>
> Key: RF-12092
> URL: https://issues.jboss.org/browse/RF-12092
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: component-push/poll
> Affects Versions: 4.2.0.Final
> Reporter: Robert Gary
> Assignee: Juraj Huska
> Attachments: a4jPollIssue.war
>
>
> When a4j:poll fires a4j:status correctly displays the request is in progress. However, it never shows it complete. Using any other a4j component will correctly update the a4j:status. So if the a4j:status is stuck showing its waiting because of an a4j:poll if you click on an a4j:commandButton the a4j:status will correctly show its now complete.
> <a4j:poll id="ajaxPoll" interval="5000" enabled="true" action="#{faces$DiscoveryStatus.poll}"
> render="#{faces$DiscoveryStatus.reRenderStr}"/>
> <a4j:status id="a4jstatus">
> <f:facet name="start">
> <img src='/images/ajax-loader.gif'/>
> </f:facet>
> <!--<f:facet name="stop">-->
> <!--<img src="/appiq/images/minor_icon.gif"/>-->
> <!--</f:facet>-->
> </a4j:status>
> This code works correctly in RF 3.3.3.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the richfaces-issues
mailing list