template::paginator::get_data (public)

 template::paginator::get_data statement_name name datasource query \
    id_column page

Defined in packages/acs-templating/tcl/paginator-procs.tcl

Sets a multirow data source with data for the rows on the current page. The pseudocolumn "all_rownum" is added to each row, indicating the index of the row relative to all rows across all pages.

Parameters:
statement_name (required)
name (required)
The reference to the paginator object.
datasource (required)
The name of the datasource to create.
query (required)
The query to execute, containing IN (CURRENT_PAGE_SET).
id_column (required)
The name of the ID column in the display query (required to order rows properly).
page (required)

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