Always check out the original article at http://www.oraclequirks.com for latest comments, fixes and updates.
Every day is a good day for learning something new.
For instance yesterday i learned that there are two distinct ways of enabling partial page refresh for reports in Oracle Application Express. The second thing i learned is that one method excludes the other one...
Just to clarify the matter, partial page refresh aka PPR is the Apex feature that allows a user to refresh only the portion of page containing the report whenever a pagination or column sort link is clicked. This effect is achieved by means of built-in AJAX code.
As of version 3.1 a new declarative setting was added to the report attributes, a flag called "Enable partial page refresh". This new attribute MUST NOT BE used together with the PPR template. The picture below shows an INCORRECT setting:
If you mix up PPR template and PPR flag, you'll get a report where pagination links do not work at all.
If you are using Firefox with Firebug installed, you should be able to spot this problem quickly:
I prepared a sample page on apex.oracle.com where you can see the old and the new method on the same page, as well as the third wrong method that "breaks" report pagination.
So, if your PPR report doesn't work, you might want to check out if you inadvertently turned on the PPR flag against an old PPR template.
Given the increased flexibility allowed by the declarative approach, which allows you to pick any report template of your liking, probably it's time to migrate the old reports based on the PPR report template:
See more articles about Oracle Application Express or download tools and utilities.