template::paginator::get_context (public)
template::paginator::get_context name datasource pages
Defined in packages/acs-templating/tcl/paginator-procs.tcl
Gets the context cues for a set of pages in the form of a multirow data source with 3 columns: rownum (starting with 1); page (number of the page); and context (a short string such as the first few letters of a name or title). The context cues may be used in the paging interface along with or instead of page numbers. This command is only valid if the contextual option is specified when creating the paginator.
- 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.