[richfaces-issues] [JBoss JIRA] Closed: (RF-1609) a4j:commandLink and h:commandButton doesn't work in data iteration components (rich:dataTable, rich:scrollableDataTable)
Ivelin Velkov (JIRA)
jira-events at lists.jboss.org
Wed Dec 12 12:53:51 EST 2007
[ http://jira.jboss.com/jira/browse/RF-1609?page=all ]
Ivelin Velkov closed RF-1609.
-----------------------------
Resolution: Done
sorry, this was not a bug in the richfaces, it`s my fault.
> a4j:commandLink and h:commandButton doesn't work in data iteration components (rich:dataTable, rich:scrollableDataTable)
> ------------------------------------------------------------------------------------------------------------------------
>
> Key: RF-1609
> URL: http://jira.jboss.com/jira/browse/RF-1609
> Project: RichFaces
> Issue Type: Bug
> Affects Versions: 3.1.2
> Environment: richfaces-3.1.2.SP1, apache-tomcat 6.0.14, mozilla-firefox-2.0.0.8-1mdv2008.0
> Reporter: Ivelin Velkov
> Assigned To: Ilya Shaikovsky
> Fix For: 3.2.0
>
>
> There is a bug in the data iteration components, the bug can be reproduced by following these steps:
> 1. open a page in your browser with an empty datatable in it.
> I use the following datatable definition in the page:
> (the currencyRatesBean#getRates method returns an empty list at this step)
> <rich:dataTable id="rateTable" value="#{currencyRatesBean.rates}"
> var="rate" rows="50" style="align:center; text-align:center"
> rowClasses="align:center; text-align:center">
> <f:facet name="header">
> <h:outputFormat value="Currency rates" />
> </f:facet>
> <rich:column id="actionColumn">
> <f:facet name="header">
> <h:outputText value="Action" />
> </f:facet>
> <a4j:commandLink id="remove" action="#{currencyRatesBean.remove}"
> value="delete" reRender="rateTable" />
> </rich:column>
> </rich:dataTable>
> 2. Rerender the datatable component and populate it.
> I do it this way:
> <a4j:commandButton styleClass="button"
> value="Fetch" reRender="rateTable"/>
> (the currencyRatesBean#getRates does not return an empty list at this step)
> Clicking on the commandLinks in the populated datatable doesn't invoke their action methods.
--
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