primefaces - Can't get ajax rowSelect event to fire on PrimeFace5.0 DataTable -
i using primeface5.0 datatable. want add ajax rowselect event it. however, when row clicked, event not fired. table , ajax declared so:
<p:datatable id="letable" value="#{lelist.leitems}" var="leitem" rowkey="#{leitem.id}" scrollable="true" scrollheight="100%" selection="#{lelist.selectedles}" selectionmode="multiple" rowindexvar="rowindex" resizablecolumns="true" liveresize="true" > <p:ajax event="rowselect" listener="#{leaction.onlerowselect}" update=":form:rowindexid" onstart="getlerowindexid(event)"> </p:ajax> .... </p:datatable>
action-bean: public void onlerowselect(selectevent event) { .... }
the whole thing worked prime faces 4.0. after switching version 5.0 no longer works. can please me?
Comments
Post a Comment