Using partial page navigation
Sometimes you might be interested to avoid making a full page transition each time you navigate to a different page, and you may wonder if you can apply the same PPR technique on navigation as well.
ADF Faces applications can be configured to have the navigation triggered through a PPR request.
In this recipe, we will enable partial page navigation to enable PPR navigation between pages and see it in action. You can refer to the last recipe, or you can grab this project's recipe by cloning the ADFFacesPartialNavigation
application from the Git repository.
How to do it…
To learn how to use partial page navigation, we will first need to enable partial page rendering. Follow the ensuing steps to do this:
Open the
web.xml
file under theWeb Content/WEB-INF
folder.From the overview mode, click on the plus icon in the Context initialization parameters category.
Change the
Name
attribute tooracle.adf.view.rich.pprNavigation.OPTIONS
.Change the
Value
attribute toon
.Open...