RowEdit listener 3.0 usage
Posted: 10 Aug 2011, 23:19
What is the correct syntax to call the rowEdit listener in 3.0? I know about the "ajax as behavior" changes, and am okay on the DataTableFeatureCompatibilityMatrix . Here is the start of the table
<p:dataTable rows="20" var="llRow" value="#{ldapApprovalTable}" paginator="true">
<p:ajax event="rowEdit" listener="#{ldapApproval.editRow}">
and the listener signature
public void editRow(RowEditEvent evt) {
...
}
The table displays and the editor toggles correctly between states, but the listener is not called. I also tried event="editRow", no dice. Thanks.
<p:dataTable rows="20" var="llRow" value="#{ldapApprovalTable}" paginator="true">
<p:ajax event="rowEdit" listener="#{ldapApproval.editRow}">
and the listener signature
public void editRow(RowEditEvent evt) {
...
}
The table displays and the editor toggles correctly between states, but the listener is not called. I also tried event="editRow", no dice. Thanks.