|
 |
|
Oracle Tips by Burleson |
Branching
A Branch is the logic control used to navigate to
other application pages, either in the current application or another
application or navigate to another URL such as
www.rampant-books.com.
When creating branches, properties are set to define when and how the
branch behaves. The following are some of the properties.
-
Branch Point
-
Branch Type
-
Branch Target
-
Conditions
Branching Points
-
On Submit: Before
Computation (Before Computation, Validation, and Processing):
A Before Computation branch will branch to another page without
processing other logic controls on the page. Using a Before
Computation branch is a handy way to provide a button that simply
navigates to another page without performing any processing.
-
On Submit: Before
Validation: (After Computation and Before Validation and
Processing): This branch point will execute after computations have
taken place. A common use for this branch is to allow the
computations to set the session state for page items on another page
and then use that branch point to branch to the page.
-
On Submit: Before
Processing: (After Computation, Validation and Before
Processing): This branch point will execute after computations and
validations. Often this branch point is used for a Cancel, Back, or
Previous button. HTML DB often uses this branch point in wizards for
the Back and Previous buttons.
-
On Submit: After
Processing: (After Computation, Validation, and Processing):
This is the kind of branch point introduced in previous chapters and
is the most common branch point used in HTML DB. It will be executed
after all other page processing logic has been executed.
-
On Load: Before Header:
This branch point is actually executed prior to page rendering. A
good use for this is to interrupt the rest of the page processing and
branch to another application page or URL, and it is most commonly
used with a condition. The condition being such that it would not be
desirable to render the current page if the condition were TRUE.
The above book excerpt is from:
Easy
HTML-DB Oracle Application Express
Create
Dynamic Web Pages with OAE
ISBN 0-9761573-1-4
Michael Cunningham & Kent
Crotty
http://www.rampant-books.com/book_2005_2_html_db.htm
|