The Paging Assistant builder provides the ability to navigate through a data set.
It adds an LJO to the WebApp that wraps the specified data source in an IXml object and contains methods to access records one page at a time or one record at a time. Use either a Paging Links or Paging Buttons builder call to add the data navigation controls to the page.
Using the Paging Assistant LJO
The Paging Assistant builder call adds an LJO to your WebApp that provides you with a set of methods that you can use to get information about the IXml object on which the Paging Assistant operates as well as navigate through that data. To view the available methods, highlight the Paging Assistant builder call in the builder call list and examine the builder_Call_Name
PagingAssistant LJO in the WebApp view.
For example, the Paging Assistant LJO has a reset() method you can use to re-initialize the data on which the Paging Assistant operates as well as a getUpdatatedData() method that you can use to refresh the data on which the Paging Assistant operates.
- Displaying data managed by the Paging Assistant -- In the builder call that you are using to display the data, set the Source Data to the PagingAssistantName Data variable. For example, if you name the Paging Assistant builder call PA, the name of the source data variable to use is: PAData.
Typically, the Source Data input is set to the XML element that contains the data over which a table row or repeated region repeats. However, this is not the case when using the Paging Assistant. The Data variable "contains" the actual data over which the row repeats.
Paging Assistant builder inputs: wpf7
This topic describes the inputs for the Paging Assistant builder.
Implementing a custom data retriever: wpf7
If your data source can only provide a certain number of records per request or if you want to be able to dynamically retrieve data based on user input, you can create your own Java class that works as the data retriever for the Paging Assistant.
Parent topic: Builder Reference: wpf7
About using the builder call editor: wpf7
Use of filtering for elements that have no container element: wpf7
About determining the data to display: wpf7
Overview: creating forms: wpf7
Paging Buttons builder: wpf7
Paging Links builder: wpf7