Chapter 7. APEX Computations
Computations are APEX's declarative way of setting an item's values on the page or at the application level.
On the page level, when we look at the Page Definition page, we can see that a Computations section appears both in the Page Rendering column and in the Page Processing column. It's actually the same mechanism, using the same wizard. However, each computation has its own Computation Points, and these points determine the computation association with the page rendering phase (the SHOW
process) or the page submit phase (the page ACCEPT
process).
At the application level, an application computation will run every time a page is rendered or once on a new instance, according to its Computation Point.
In this chapter we shall review the computation mechanism and see how we can use it in our applications.
Create a page level computation
Within the Page Definition page we can choose either of the Computations sections (in the Page Rendering or Page Processing columns...