RowEdit listener 3.0 usage

Components, Ajax Framework, Utilities and More.
Post Reply
hfcprime
Posts: 100
Joined: 22 Feb 2011, 20:32

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.
ENVIRONMENT
Angular 4.0, PrimeNG 4.0.2, AngularCLI project in AngularIDE,Win 7 Pro


hfcprime
Posts: 100
Joined: 22 Feb 2011, 20:32

11 Aug 2011, 14:57

I've seen that link, as I said. Question is, what is the correct spec for rowEdit events/listener in 3.0? Something like

<p:ajax event="rowEdit" listener="#{bean.editListener}"/>

where the listener has the signature in my post. Or not...
ENVIRONMENT
Angular 4.0, PrimeNG 4.0.2, AngularCLI project in AngularIDE,Win 7 Pro

kukeltje
Expert Member
Posts: 8662
Joined: 17 Jun 2010, 13:34
Location: Netherlands

12 Aug 2011, 01:33

In another post i read something about it being called 'cellEdit'
Ronald van Kuijk
______________________________
PrimeFaces 6.1, PrimeFaces plus 0.0.2 | JbossWildfly 10.1| Mojarra 2.2.13
Fedora 61, Firefox 'most recent'
Read the forum posting rules
Beginners: https://jsf.zeef.com/bauke.scholtz

Post Reply
  • Information
  • Who is online

    Users browsing this forum: No registered users and 7 guests