[richfaces-issues] [JBoss JIRA] (RF-12024) rich:dataGrid component and a4j:status don't cooperate together
Artur Mioduszewski (JIRA)
jira-events at lists.jboss.org
Tue Mar 6 20:20:36 EST 2012
[ https://issues.jboss.org/browse/RF-12024?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Artur Mioduszewski updated RF-12024:
------------------------------------
Description:
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 correctly
-------------
(I just have noticed: a4j:status component also does not cooperate correctly to richfaces tabs: durring first tab switching, a4j:status component is not able to hide
After refresh: tabs and a4j:status component start to behave correctly ).
=========================================================================================================================
------------------------- 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>
-----------------------------------------------------------------------------------------------------------------------
was:
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>
-----------------------------------------------------------------------------------------------------------------------
> 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.1.0.Final, 4.2.0.Final
> Environment: JDK1.6,
> JBoss 6.0.Final,
> richfaces 4.1.0.Final/4.2.0.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 correctly
> -------------
> (I just have noticed: a4j:status component also does not cooperate correctly to richfaces tabs: durring first tab switching, a4j:status component is not able to hide
> After refresh: tabs and a4j:status component start to behave correctly ).
> =========================================================================================================================
> ------------------------- 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
More information about the richfaces-issues
mailing list