Thanks it was really helpful, We are using DispatchAction to invoke specific actionMethods. Now, I believe when we click on the link (page) it calls the requestURI, by just appending the query string to the existing query string. It is a problem, say, when we call an actionMethod that performs a 'save' or 'delete' operation because it calls the method again. I guess we could hard code the method name in the requestURI to a dummy actionMethod which just forwards to the tiles.
Another question is what if we want to get handle of the page number, we are using Hibernate and load data in batches...it would be good if we could get the page number to get the next batch etc... Any way to get the page number ? Please advice... Thanks, Srini >>> [EMAIL PROTECTED] 1/18/2006 3:01:37 PM >>> <display:table name="parts" requestURI="PrepareCustAction.do" class="single-line-table" defaultsort="4" defaultorder="descending" pagesize="6"> Just by giving pagesize attribute I was able to get the page no's. By clicking on the page no. links I was able to go to that page. I am also using struts. I like the display tag. >From: "Srini Pillai" <[EMAIL PROTECTED]> >Reply-To: [email protected] >To: <[email protected]> >Subject: [displaytag-user] Handling Pagination >Date: Wed, 18 Jan 2006 14:48:05 -0500 > >Hi All, > >I am trying to understand the pagination using display tags. We are >using Struts and when the table is displayed with pages, how do we get >handle of the page number when user clicks on the page to go to...I see >a request parameter 'd-####-p' which has the page number but does the >number inbetween keep changing ? Or is there another way to get the page >number. I coudn't find anything about getting page number in the >documentation either... Please help... > >Thanks, >Srini > > >------------------------------------------------------- >This SF.net email is sponsored by: Splunk Inc. Do you grep through log >files >for problems? Stop! Download the new AJAX search engine that makes >searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! >http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 >_______________________________________________ >displaytag-user mailing list >[email protected] >https://lists.sourceforge.net/lists/listinfo/displaytag-user _________________________________________________________________ Express yourself instantly with MSN Messenger! Download today - it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/ ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ displaytag-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/displaytag-user ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ displaytag-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/displaytag-user

