What You May Need to Know About PPR and Screen Readers

7-8 Web User Interface Developers Guide for Oracle Application Development Framework System.out.printlnNo activity with event + ae.toString; setCurrActivitynull; Since the user has acted on an activity that couldnt be found, ppr the page so that they no longer see the activity RequestContext adfContext = RequestContext.getCurrentInstance; adfContext.addPartialTargetgetCal1; return; } DemoCalendarActivity demoActivity = DemoCalendarActivityactivity; TimeZone tz = getTimeZone; demoActivity.setEndDateae.getNewEndDate, tz; setCurrActivitynew DemoCalendarActivityBeandemoActivity, tz; } 4. Select the trigger component, and in the Property Inspector, find the listener for the event that will cause the refresh and bind it to the listener method created in Step 3.

7.4 Using Partial Page Navigation

Instead of performing a full page transition in the traditional way, you can configure an ADF Faces application to have navigation triggered through a partial page rendering request. The new page is sent to the client using partial page rendering. Partial page navigation is disabled by default. In order to keep track of location for example, for bookmarking purposes, or when a refresh occurs, the framework makes use of the hash portion of the URL. This portion of the URL contains the actual page being displayed in the browser.

7.4.1 How to Use Partial Page Navigation

You can turn partial page navigation on by setting the oracle.adf.view.rich.pprNavigation.OPTIONS context parameter in the web.xml file to on. To use partial page navigation: 1. Double-click the web.xml file. 2. In the source editor, change the oracle.adf.view.rich.prNavigation.OPTIONS parameter to one of the following: ■ on: Enables partial page navigation. ■ onWithForcePPR: Enables partial page navigation and notifies the framework to use the PPR channel for all action events, even those that do not result in navigation. Since partial page navigation requires that the action event be sent over PPR channel, use this option to easily enable partial page navigation. Note: If you set the parameter to on, then you need to set the partialSubmit attribute to true for any command components involved in navigation.