My Oracle Support Banner

How To Reset Table's Pagination? (Doc ID 2781280.1)

Last updated on OCTOBER 13, 2023

Applies to:

Oracle JDeveloper - Version 12.2.1.4.0 and later
Information in this document applies to any platform.

Goal

An ADF 12.2.1.4.0 application has a page embedding a page fragment as a region.

The page fragment has an input text field, a button and a table backed by a Business Object with pagination set.

When the user enters a text in the input text field and hits the button a backing bean method is invoked to filter the table.

If the user, after filtering the table and navigating through table's pages, performs a new filtering by entering a new filtering criteria in the input text field and hitting the button, instead of having the table's contents refreshed accordingly and the pagination being reset (i.e. the table's page shown is page 1), nothing happens.

The backing bean's action listener's code retrieves the input text field value and then invokes the operation binding to perform the search with the following code

Is this the correct way to achieve the described goal?

Should a different approach be used?
 

Solution

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Goal
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.