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 - The reference to the paginator object.
datasource - The name of the multirow datasource to create
pages - A Tcl list of page numbers.

Partial Call Graph (max 5 caller/called nodes):
%3 template::paginator::get_reference template::paginator::get_reference (private) template::paginator::get_pages_info template::paginator::get_pages_info template::paginator::get_pages_info->template::paginator::get_reference

Testcases:
No testcase defined.
[ show source ]
Show another procedure: