Book Image

Oracle ADF Faces Cookbook

By : Amr Gawish, Amr Ismail Gawish
Book Image

Oracle ADF Faces Cookbook

By: Amr Gawish, Amr Ismail Gawish

Overview of this book

Table of Contents (18 chapters)
Oracle ADF Faces Cookbook
About the Author
About the Reviewers

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:

  1. Open the web.xml file under the Web Content/WEB-INF folder.

  2. From the overview mode, click on the plus icon in the Context initialization parameters category.

  3. Change the Name attribute to

  4. Change the Value attribute to on.

  5. Open...