Using pagging techniques - IV
2 August 2008I would like you to go through the first 3 parts on this topic to develop good understanding of this topic.
I will continue to write about pagination tag parameters.
- styleClass tag returns the anchors in an HTML table so you can plug that table within another table or anywhere on the page. styleClass, which is an optional parameter, defines the style for that table. If not specified, a default style is used.
- action tag defines an action parameter to build the anchor tags. The action parameter can be used if the search action doing the extraction redirects (instead of forwards) to a JSP page that displays the results. The pagination tag, by default, tries to figure out the URL for the anchors from the current URI. If the JSP page that displays the results using the pagination tag is reached by redirect from the search action, the pagination tag adds the JSP page’s URL to the navigation anchors, instead of the search action’s URL. So, in the case of redirects, if you define an action parameter, it will be used to generate the anchor’s URL. action is an optional parameter.
- title defines whether to show a title for the anchors on a mouse over. The options are yes or no. Anything other than yes is treated as no. If we choose yes, then the title’s output by the pagination tag appears like this: First page, Previous page, Next page, and Go to page 5, and so on. title is an optional parameter.
continued…
Related Posts:
Top Of Page | Trackback
If you found this page useful, consider linking to it. Simply copy and paste the code below into your web site.
It will look like this: Using pagging techniques - IV