[richfaces-issues] [JBoss JIRA] (RF-12078) action fired twice, when invoked by a a4j:commandButton residing in a tables' footer facet
Markus Staab (JIRA)
jira-events at lists.jboss.org
Thu Mar 22 09:25:47 EDT 2012
[ https://issues.jboss.org/browse/RF-12078?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12678644#comment-12678644 ]
Markus Staab commented on RF-12078:
-----------------------------------
the problem does not exist when the button resides in columns outside of the footer-facet.
> action fired twice, when invoked by a a4j:commandButton residing in a tables' footer facet
> ------------------------------------------------------------------------------------------
>
> Key: RF-12078
> URL: https://issues.jboss.org/browse/RF-12078
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Affects Versions: 3.3.3.Final
> Environment: Liferay 5.2.4, Portlet 2.0, JSF 1.2, Richfaces 3.3.3
> Reporter: Markus Staab
>
> when adding a a4j:commandButton inside a rich:databables footer-facet, the corresponding action will be invoked twice while the process action phase.
> The problem only occurs, when the commandButton 'process'es the datatable itself.
> {code}
> <rich:dataTable id="myTable" value="#{aDataModel}" var="myVar" >
> <rich:column >
> <f:facet name="header">A HEADER</f:facet>
> SOME CONTENT IN THE ROW
> </h:inputText>
> </rich:column>
> <f:facet name="footer">
> <rich:column>
> <a4j:commandButton
> value="ADD ANOTHER ROW"
> reRender="myTable"
> action="#{form.addNewRow}" ajaxSingle="true"
> process="myTable"
> />
> </rich:column>
> </f:facet>
> </rich:dataTable>
> {code}
--
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