Skip to Main Content

Java Development Tools

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

EstimatedRowCount on a query table

763533Apr 12 2011 — edited Apr 14 2011
Hi,

I have a search page and am supposed to show the total number of rows of the result on the top or bottom of the table.
My table is surrounded with a panelcollection, and in the tool bar of the panel collection, I placed an output text and value is given as #{bindings.VO1.estimatedRowCount} (tried bindings.VO1Iterator.estimatedRowCount as well).

Initially its working fine. but when I navigate to a different page and again come back to the search page, then it is not showing correct row count. (I guess it is showing the total row count of my vo query without applying any view criteria i.e even though my result table has only 54 records, it show 1108 as row count.)
But when I click on any row in the table then again it is changing to correct number (54).

This behaviour seems wierd.
Plz let me know what is the correct way of showing total number of rows in search result as a header or footer of the table.
This post has been answered by BRM on Apr 13 2011
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 12 2011
Added on Apr 12 2011
13 comments
1,337 views