Artur Mioduszewski created RF-12024:
---------------------------------------
Summary: rich:dataGrid component and a4j:status don't cooperate
together
Key: RF-12024
URL: https://issues.jboss.org/browse/RF-12024
Project: RichFaces
Issue Type: Bug
Security Level: Public (Everyone can see)
Affects Versions: 4.2.0.Final, 4.1.0.Final
Environment: JDK1.6,
JBoss 6.0.Final,
richfaces 4.1.Final/4.2.Final
Reporter: Artur Mioduszewski
rich:dataGrid component and a4j:status don't cooperate together.
1. PROBLEM: After clicking a4j:commandLink inside rich:dataGrid, rich:dataGrid
behaves properly, but a4j:status component is not able to hide.
2. When I remove a4j:status component, everything is OK (but rerendering
rich:dataGrid is taking a while, so I would like to get a4j:status component
functionality on page)
3. a4j:commandButton present at that page (not shown in below code extract)
cooperate to a4j:status corectly
------------------------- EXTRACT OF MY CODE:
---------------------------------------------------------------------------
<a4j:status onstart="#{rich:component('waitPane')}.show()"
onstop="#{rich:component('waitPane')}.hide()"/>
<rich:dataGrid id="pricePanel"
rendered="#{componentManager.visiblePricePlanTable}"
value="#{componentManager.pricelistHourItems}" var="hour"
iterationStatusVar="it"
columns="7" elements="168" styleClass="noPaddings">
<h:panelGrid columns="2" rendered="#{componentManager.editMode}">
<a4j:commandLink styleClass="no-decor" render="pricePanel"
execute="pricePanel" rendered="#{not hour.selected}"
action="#{componentManager.activateHourPrice}">
<h:graphicImage value="/images/icons/new-small-ic.gif"
alt="Activate"/>
<a4j:param value="#{it.index}"
assignTo="#{componentManager.currentPricelistHourItemIndex}"/>
<f:setPropertyActionListener
target="#{componentManager.editedPricelistHourItem}" value="#{hour}"/>
</a4j:commandLink>
</h:panelGrid>
<h:panelGrid columns="2" rendered="#{not componentManager.editMode}">
<h:outputText value="#{hour.price}" rendered="#{hour.selected}"/>
<h:graphicImage value="/images/spacer.gif" width="48px"
height="0px" rendered="#{not hour.selected}"/>
</h:panelGrid>
</rich:dataGrid>
-----------------------------------------------------------------------------------------------------------------------
--
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
_______________________________________________
richfaces-issues mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/richfaces-issues