Other ways to control the application flow
Branches are not the only means APEX provides us for controlling the application flow. We'll review some of these extra options in the following sections. As you'll see, APEX gives us a high degree of flexibility by supporting a large variety of application flow options and controls.
Branch with Buttons
As mentioned earlier in the chapter and was reviewed in Chapter 6, APEX Buttons, we can define branches as part of defining a button that implements a redirection without submit. The branch target can be defined declaratively or by using a URL, which is similar to what we have seen in this chapter.
Branch with PL/SQL
We can use the Oracle packaged procedure owa_util.redirect_urt()
to define a branch target. We have seen a use of this procedure with the Branch to PL/SQL Procedure type. However, we can also use this procedure within a page process.
If we need to branch as part of the page SHOW
phase, without actually rendering the page e.g. we want...