Read and respond to this message at: 
https://sourceforge.net/forum/message.php?msg_id=5211893
By: chikkubhai

When you say record count, is it the page count or all of the records being
showed with pagination?

You can use a simple tag based on what framework you are using, anyways here's
how I did it:

For example in the following code, someObjList contains the list of objects
in session scope and whose properties are displayed as columns in the display
table.

<display:table name="sessionScope.someObjList" export="true" id="tmpId"
                defaultorder="ascending" cellspacing="1"> 
....

</display:table>

Including the following code in a JSP scriptlet will get the size of the list
that you are displaying!

Number of records being displayed: <%=((java.util.List) session
                                                                        
.getAttribute("someObjList")).size()%>

Brown, do respond to my reply to your other post!

______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit: 
https://sourceforge.net/forum/unmonitor.php?forum_id=249318

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
displaytag-user mailing list
displaytag-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/displaytag-user

Reply via email to