Hi,
I'm trying to implement displaytag pagination with a little different funcitonality. Basically, I have 3 displaytag tables on my jsp, and when the user wishes to see the next set of results on one of them it brings them to a new resultant jsp which only displays the info from the table they wished to paginate.
This should be relatively simple to do. However when the user clicks a pagination link, displayTag hits the ORIGINAL struts action that it used in displaying the original data. I want to be able to hit a new struts action.
I don't think I've explained that terribly well so heres a little example.
- User does a search.
- A struts action called 'searchAllTypes' is hit and returns a jsp.
- Results for 3 different types (x,y and z) are displayed in 3 seperate tables.
- User wishes to see the next 10 results for table y so clicks 'next' on y's table.
- A struts action called 'searchYType' is hit and returns a new jsp.
Thanks to anyone who can help me with this.
-gearoid.
EDIT: I really want to hit a different method inside my Struts Action - should have clarified that earlier.