I'm using PrimeFaces M3-SNAPSHOT and i found a issue related to p:ajax on p:dataTable. The event rowSelect does not execute listener in the situation below:
First, my definition of p:dataTable:
Code: Select all
<p:dataTable var="item" value="#{relatedBean.lazyModel}" paginator="true" rows="15"
paginatorTemplate="{FirstPageLink} {PreviousPageLink} {CurrentPageReport} {NextPageLink} {LastPageLink} {RowsPerPageDropdown}"
paginatorPosition="bottom" selection="#{relatedBeanBean.selected}"
rowsPerPageTemplate="15,20,25,30" lazy="true" selectionMode="single"
currentPageReportTemplate="({currentPage} de {totalPages})"
emptyMessage="Nenhum registro encontrado" id="relatedTable">
<p:ajax event="rowSelect" listener="#{relatedBean.rowSelected}" update="form:especificComponent"></p:ajax>
...
</p:dataTable>
Code: Select all
public void rowSelected(SelectEvent event) {
System.out.println("Hey, i'm here!");
}
The issue was classified as "CantReplicate". Someone had this problem?
My versions:
PrimeFaces: M3-SNAPSHOT
Mojarra 2.1.2
Tomcat 7.0.20
I appreciate the help and sorry about my english.