Edit D:\app\Administrator\product\11.2.0\dbhome_1\apex\images\doc\bldr_branches_about.htm
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=us-ascii" /> <meta http-equiv="Content-Style-Type" content="text/css" /> <meta http-equiv="Content-Script-Type" content="text/javascript" /> <title>Understanding Branches</title> <meta name="generator" content="Oracle DARB XHTML Converter (Mode = ohj/ohw) - Version 5.1" /> <meta name="date" content="2009-04-14T16:11:27Z" /> <meta name="robots" content="noarchive" /> <meta name="doctitle" content="Understanding Branches" /> <meta name="relnum" content="Release 3.2" /> <meta name="partnum" content="E11947-01" /> <link rel="copyright" href="dcommon/html/cpyr.htm" title="Copyright" type="text/html" /> <link rel="stylesheet" href="dcommon/css/blafdoc.css" title="Oracle BLAFDoc" type="text/css" /> <link rel="contents" href="toc.htm" title="Contents" type="text/html" /> <link rel="up" href="preface.htm" title="Home" type="text/html" /> <link rel="up" href="bldr_pgs.htm" title="Working with Application Pages" type="text/html" /> <link rel="up" href="bldr_pg_edit.htm" title="Editing a Page Definition" type="text/html" /> <link rel="up" href="bldr_branches_about.htm" title="Understanding Branches" type="text/html" /> <link rel="prev" href="bldr_pg_procs_about.htm" title="Previous" type="text/html" /> <link rel="next" href="bldr_pg_edit_att.htm" title="Next" type="text/html" /> </head> <body> <p id="BREADCRUMBING"><a href="preface.htm" title="Home">Home</a> > <a href="bldr_pgs.htm" title="Working with Application Pages">Working with Application Pages</a> > <a href="bldr_pg_edit.htm" title="Editing a Page Definition">Editing a Page Definition</a> > Understanding Branches</p> <table class="simple oac_no_warn" summary="" cellspacing="0" cellpadding="0" width="100%"> <col width="86%" /> <col width="*" /> <tr valign="bottom"> <td align="left"></td> <td align="center"><a href="bldr_pg_procs_about.htm"><img src="dcommon/gifs/leftnav.gif" alt="Previous" /><br /> <span class="icon">Previous</span></a> </td> <td align="center"><a href="bldr_pg_edit_att.htm"><img src="dcommon/gifs/rightnav.gif" alt="Next" /><br /> <span class="icon">Next</span></a></td> </tr> </table> <p><a id="CHDDFEFH" name="CHDDFEFH"></a></p> <div class="sect2"><!-- infolevel="all" infotype="General" --> <h1><a name="HTMDB04020|branches"></a>Understanding <a id="sthref603" name="sthref603"></a>Branches</h1> <p>A branch is an instruction to go to a specific page, procedure, or URL. For example, you can branch from page 1 to page 2 after page 1 is submitted.</p> <p>You create a branch by running the Create Page Branch Wizard and specifying Branch Point and Branch Type. The Branch Type defines the type of branch you are creating. For more information about Branch Types, see online Help.</p> <a id="sthref604" name="sthref604"></a> <p class="subhead2">Topics:</p> <ul> <li> <p><a href="#CHDEIBCC">Defining a Branch Point and Action</a></p> </li> <li> <p><a href="#CHDHFBFC">Branching Conditionally</a></p> </li> </ul> <div align="center"> <div class="inftblnotealso"><br /> <table class="NoteAlso oac_no_warn" summary="" cellpadding="3" cellspacing="0"> <tbody> <tr> <td align="left"> <p class="notep1">See Also:</p> <a href="concept_sub_strings.htm#CHDDCFIJ">"About the When Button Pressed Attribute"</a></td> </tr> </tbody> </table> <br /></div> <!-- class="inftblnotealso" --></div> <a id="CHDEIBCC" name="CHDEIBCC"></a> <div class="sect3"><!-- infolevel="all" infotype="General" --> <h2><a name="HTMDB25148" id="HTMDB25148"></a>Defining a Branch Point and Action<a id="sthref605" name="sthref605"></a><a id="sthref606" name="sthref606"></a><a id="sthref607" name="sthref607"></a></h2> <p>When you click a standard tab in an application, the Application Express engine sets session state, executes computations, and then links you to the target page. It does not run any processes or explicitly defined branches. In cases where the page is submitted without clicking a tab, the Application Express engine explicitly defines branches to direct users to a subsequent page.</p> <p>You can control when a branch executes by making a selection from the Branch Point list. Available options include:</p> <ul> <li> <p><span class="bold">On Submit: Before Computation<a id="sthref608" name="sthref608"></a></span> - Branching occurs before computations, validations, or processing. Use this option for buttons that do not need to invoke any processing (for example, a Cancel button).</p> </li> <li> <p><span class="bold">On Submit: Before Validation<a id="sthref609" name="sthref609"></a></span> - Branching occurs after computations, but before validations or processing. If a validation fails, page processing stops, a rollback is issued, and the page displays the error. Because of this default behavior, you do not need to create branches to accommodate validations. However, you may want to branch based on the result of a computation (for example, to a previous branch point).</p> </li> <li> <p><span class="bold">On Submit: Before Processing</span><a id="sthref610" name="sthref610"></a> - Branching occurs after computations and validations, but before processing. Use this option to branch based on a validated session state, but before performing any page processing.</p> </li> <li> <p><span class="bold">On Submit: After Processing<a id="sthref611" name="sthref611"></a></span> - Branching occurs after computations, validations, and processing. This option branches to a URL or page after performing computations, validations, and processing. When using this option, remember to sequence your branches if you have multiple branches for a given branch point.</p> </li> <li> <p><span class="bold">On Load: Before Header</span><a id="sthref612" name="sthref612"></a> - Branching occurs before a page is rendered. This option displays another page instead of the current page or redirects the user to another URL or procedure.</p> </li> </ul> <p>Depending upon the Branch Type you select, you can specify the following additional information in the Action attributes:</p> <ul> <li> <p>The page number of the page to which you want to branch</p> </li> <li> <p>PL/SQL procedure which ultimately renders a branch target page</p> </li> <li> <p>A URL address</p> </li> </ul> </div> <!-- class="sect3" --> <a id="CHDHFBFC" name="CHDHFBFC"></a> <div class="sect3"><!-- infolevel="all" infotype="General" --> <h2><a name="HTMDB25149" id="HTMDB25149"></a>Branching Conditionally<a id="sthref613" name="sthref613"></a></h2> <p>Like other controls, branches can be made conditional. To create a conditional branch, make a selection from the Condition Type list, and enter text in the expression fields to implement the condition type you choose.</p> <div align="center"> <div class="inftblnotealso"><br /> <table class="NoteAlso oac_no_warn" summary="" cellpadding="3" cellspacing="0"> <tbody> <tr> <td align="left"> <p class="notep1">See Also:</p> <a href="nav_branch.htm#CHDFCBFE">"Controlling Navigation Using Branches"</a></td> </tr> </tbody> </table> <br /></div> <!-- class="inftblnotealso" --></div> </div> <!-- class="sect3" --></div> <!-- class="sect2" --> <!-- Start Footer --> <div class="footer"> <table class="simple oac_no_warn" summary="" cellspacing="0" cellpadding="0" width="100%"> <col width="86%" /> <col width="*" /> <tr> <td align="left"><span class="copyrightlogo">Copyright © 2003, 2009, Oracle and/or its affiliates. All rights reserved.</span><br /> <a href="dcommon/html/cpyr.htm"><span class="copyrightlogo">Legal Notices</span></a></td> <td align="center"><a href="bldr_pg_procs_about.htm"><img src="dcommon/gifs/leftnav.gif" alt="Previous" /><br /> <span class="icon">Previous</span></a> </td> <td align="center"><a href="bldr_pg_edit_att.htm"><img src="dcommon/gifs/rightnav.gif" alt="Next" /><br /> <span class="icon">Next</span></a></td> </tr> </table> </div> <!-- class="footer" --> </body> </html>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de