DataTable Bug
Posted: 21 Oct 2010, 17:07
Hi,
I'm trying to use PrimeFaces in my app, and I have a trouble.
I'm using <p: dataTable> in a result page of a search, with 10 records for page. The search returns 100 itens, wich represents 10 pages. If I navigate to page 8, for example and perform the search again, the page supposed to be presented is the first, but the page 8 is still presented.
I wanted to know how to erase the page counter when I make a new search.
Could you help me?
I'm trying to use PrimeFaces in my app, and I have a trouble.
I'm using <p: dataTable> in a result page of a search, with 10 records for page. The search returns 100 itens, wich represents 10 pages. If I navigate to page 8, for example and perform the search again, the page supposed to be presented is the first, but the page 8 is still presented.
I wanted to know how to erase the page counter when I make a new search.
Could you help me?