p:dataTable lazy loading with "external" filter ?

UI Components for JSF
Post Reply
mbauer77
Posts: 66
Joined: 04 Jan 2010, 14:41
Location: Munich, Germany
Contact:

11 Sep 2010, 16:41

Hi,

i am using current 2.2 Snapshot on Tomcat 6 and JSF 2.0.3

I have a search panel including some fields and a "search"-button. Below that I have a p:dataTable with lazy loading.

I implemented the lazyDataModel like seen in the showcase and this works fine, but if i enter some "filters" in the above table and press the search-button, the datatable obviously does not call the list-method of the lazyDataModel, so my filters are never applied because the query is not executed.

mbauer77
Posts: 66
Joined: 04 Jan 2010, 14:41
Location: Munich, Germany
Contact:

11 Sep 2010, 20:18

I found this way:
http://primefaces.prime.com.tr/forum/vi ... 154#p20154

Is this the preferred way ? :roll:

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 32 guests