template::paginator::get_pages_info (public)
template::paginator::get_pages_info name datasource pages
Defined in packages/acs-templating/tcl/paginator-procs.tcl
Gets the page information for a set of pages in the form of a multirow data source with 2 columns: rownum (starting with 1); and page (number of the page). This is a counterpart for get_context when using page objects that are non-contextual. Using this makes it easier to switch from contextual to non-contextual so that less modification is needed on adp template pages. Think in terms of taking out the display of one element in a multirow datasource as compared to converting an adp to handle a list datasource instead of a multirow datasource.
- Parameters:
- name (required)
- The reference to the paginator object.
- datasource (required)
- The name of the multirow datasource to create
- pages (required)
- A Tcl list of page numbers.
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.