[richfaces-issues] [JBoss JIRA] Created: (RF-1990) onstart doesnt work for a4j:status

Marcin Domagala (JIRA) jira-events at lists.jboss.org
Tue Jan 22 16:24:21 EST 2008


onstart doesnt work for a4j:status
----------------------------------

                 Key: RF-1990
                 URL: http://jira.jboss.com/jira/browse/RF-1990
             Project: RichFaces
          Issue Type: Sub-task
    Affects Versions: 3.1.4
         Environment: richfaces-ui-3.1.4-20080122.054120-16.pom Sun RI 1.2_07
            Reporter: Marcin Domagala
            Priority: Minor
             Fix For: 3.1.4


It looks like now onstart doesnt work for subsequent requests.

You can reproduce it in even simplest table with scroller. At the first next page clik onstart works fine, but for some unknow reason A4J.AJAX.status(.. false) is called twice during the request, then in if(A4J.AJAX._requestsCounts[targetID]>0) value is always lower then zero :(

<a4j:status  startText="In progress..." stopText="Complete" onstart="return false;" onstop="alert(A4J.AJAX._requestsCounts['_viewRoot:status'])"/>
            <h:form id="form">
                    <rich:dataTable var="templateRow" value="#{templateList}" id="table" rows="1">
                        <rich:columnGroup>
                            <rich:column>
                                x
                            </rich:column>
                        </rich:columnGroup>
                        <f:facet name="footer">
                            <rich:datascroller maxPages="20" id="scroller"/>
                        </f:facet>
                    </rich:dataTable>
            </h:form>




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

        



More information about the richfaces-issues mailing list