[
http://jira.jboss.com/jira/browse/RF-1990?page=all ]
Marcin Domagala updated RF-1990:
--------------------------------
Fix Version/s: 3.2.0
Priority: Major (was: Minor)
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
Fix For: 3.1.4, 3.2.0
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