-
Book Overview & Buying
-
Table Of Contents
-
Feedback & Rating
Oracle ADF Faces Cookbook
By :
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.
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 the Web Content/WEB-INF folder.
From the overview mode, click on the plus icon in the Context initialization parameters category.
Change the Name attribute to oracle.adf.view.rich.pprNavigation.OPTIONS.
Change the Value attribute to on.
Open...
Change the font size
Change margin width
Change background colour