datatable, lazy, unselection

UI Components for JSF
Post Reply
mathewst
Posts: 61
Joined: 18 Jan 2011, 17:12
Location: PP,BA,Slovakia
Contact:

19 Jan 2011, 01:28

another problem alike here: http://primefaces.prime.com.tr/forum/vi ... f=3&t=7221

<p:dataTable var="tx" value="#{txBean.txModel}" rows="15"
paginator="true" lazy="true" id="txTable"
paginatorTemplate="{FirstPageLink} {PreviousPageLink} {CurrentPageReport} {NextPageLink} {LastPageLink}"
onRowSelectUpdate="txActions messages" onRowUnselectUpdate="txActions messages"
rowUnselectListener="#{txBean.unselectTx}"
selection="#{txBean.selectedTx}" selectionMode="single">

unless I explicitly say in backing bean uselect listener
public void unselectTx(UnselectEvent event) {
setSelectedTx(null);
}

selectedItem at onRowUnselectUpdate remains not VALID, thus unusable

strange thou is onRowSelectUpdate works OK

and im using 2.2.RC2

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 33 guests