Hi,
I am using ibatis PaginatedList functionality for paging through search results, and I would like to add the ability for a user to go to the last page of the results (something like Google results) instead of having to page through big result sets as
it is done in JPetStore4:
<logic:notEqual name="orderBean" property="orderList.firstPage" value="true" > <a href="switchOrderPage.shtml?pageDirection=previous">PREV</a> </logic:notEqual> <logic:notEqual name="orderBean" property="orderList.lastPage" value="true" > <a href="switchOrderPage.shtml?pageDirection=next">NEXT</a> </logic:notEqual>
Is this possible or should I do two queries (my actual "select fields from..." and a new "select count(*) from...") to achieve it?
Thank you very much, Guido.
-- Guido Garc�a Bernardo - [EMAIL PROTECTED] Tfn. +34 983 54 89 08 ITDEUSTO - Valladolid

