Edit D:\app\Administrator\product\11.2.0\dbhome_1\apex\images\doc\TDPAX\td_bldinitapp.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>Creating the Initial Application</title> <meta name="generator" content="Oracle DARB XHTML Converter (Mode = ohj/ohw) - Version 5.1" /> <meta name="date" content="2009-04-14T18:17:39Z" /> <meta name="robots" content="noarchive" /> <meta name="doctitle" content="Creating the Initial Application" /> <meta name="relnum" content="Release 3.2" /> <meta name="partnum" content="E11946-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="build_app.htm" title="Building Your Application" type="text/html" /> <link rel="up" href="td_bldinitapp.htm" title="Creating the Initial Applic..." type="text/html" /> <link rel="prev" href="td_bldabout.htm" title="Previous" type="text/html" /> <link rel="next" href="td_blddptrprt.htm" title="Next" type="text/html" /> </head> <body> <p id="BREADCRUMBING"><a href="preface.htm" title="Home">Home</a> > <a href="build_app.htm" title="Building Your Application">Building Your Application</a> > Creating the Initial Applic...</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="td_bldabout.htm"><img src="../dcommon/gifs/leftnav.gif" alt="Previous" /><br /> <span class="icon">Previous</span></a> </td> <td align="center"><a href="td_blddptrprt.htm"><img src="../dcommon/gifs/rightnav.gif" alt="Next" /><br /> <span class="icon">Next</span></a></td> </tr> </table> <p><a id="BCEJHEJH" name="BCEJHEJH"></a></p> <div class="sect1"><!-- infolevel="all" infotype="General" --> <h1><a name="TDPAX04003|how to create the initial application"></a>Creating the <a id="sthref147" name="sthref147"></a><a id="sthref148" name="sthref148"></a>Initial Application</h1> <p>This first exercise guides you through creating your initial application. Using the Create Application Wizard, you create two pages and, also specify basic application functionality.</p> <p>To create your initial application:</p> <ol> <li> <p>Log in to Oracle Application Express.</p> <p>For instructions, see <a href="td_envdemo.htm#CACCEHAE">"Logging In to the Hosted Demo Environment"</a> or <a href="td_envlocal.htm#BEHCHGGB">"Logging In to Your Local Instance"</a>.</p> </li> <li> <p>On the Workspace home page, click <span class="bold">Application Builder</span>.</p> </li> <li> <p>Click the <span class="bold">Create</span> button.</p> <p>The <a id="sthref149" name="sthref149"></a>Create Application Wizard appears.</p> <p>Note that each page within a wizard displays the title of the wizard (for example, <span class="italic">Create Application</span>). Each wizard page also displays a series of blocks on the left, representing the sequence of steps. The highlighted block indicates the step you are performing.</p> <img src="img/bldap_wiz_steplst.gif" alt="Description of bldap_wiz_steplst.gif follows" title="Description of bldap_wiz_steplst.gif follows" longdesc="img_text/bldap_wiz_steplst.htm" /><br /> <a id="sthref150" name="sthref150" href="img_text/bldap_wiz_steplst.htm">Description of the illustration bldap_wiz_steplst.gif</a><br /> <br /> <p>To orient you, each step in these exercises generally begins with the block label. For example, the first step in the Create Application Wizard highlights the word <span class="italic">Method</span>. Therefore, the next step orients you by beginning with the words <span class="italic">For Method</span>.</p> </li> <li> <p>For Method, accept the default, <span class="bold">Create Application</span>, and click <span class="bold">Next</span>.</p> </li> <li> <p>For Name:</p> <ol> <li> <p>Name - Enter <code>AnyCo Corp</code>.</p> </li> <li> <p>Application - accept the default ID. The system provides a unique ID for each application you create in this workspace.</p> </li> <li> <p>Create Application - Accept the default, <span class="bold">From scratch</span>.</p> </li> <li> <p>Schema - Select the schema that contains the objects for this tutorial (for example, <span class="bold">TWODAYPLUS</span>).</p> </li> <li> <p>Click <span class="bold">Next</span>.</p> </li> </ol> <p>Next, add a page to your application.</p> </li> <li> <p>For Pages, specify the following in the Add Page section:</p> <ol> <li> <p>Select Page Type - Accept the default, <span class="bold">Blank</span>.</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">Tip:</p> Explanatory information for each option appears on the right side of the page. This page-level help appears throughout the application.</td> </tr> </tbody> </table> <br /></div> <!-- class="inftblnotealso" --></div> </li> <li> <p>Page Name - Enter <code>Home</code>.</p> </li> <li> <p>Click <span class="bold">Add Page</span>.</p> <p>The Home page is now listed in the top area. Also, note that the Add Page area appears so you can continue adding pages to your initial application.</p> </li> </ol> <p>Next, add a report page on the <code>OEHR_DEPARTMENTS</code> table.</p> </li> <li> <p>In the Add Page section, specify the following:</p> <ol> <li> <p>Select Page Type - Select <span class="bold">Report</span>.</p> </li> <li> <p>Subordinate to Page - Select <span class="bold">Home (1)</span>.</p> <p>This sets up the hierarchy among the pages in your application.</p> </li> <li> <p>Page Source - Accept the default, <span class="bold">Table</span>.</p> </li> <li> <p>Table Name - Select <span class="bold">OEHR_DEPARTMENTS</span>.</p> <p>The list shows all tables and views in the schema associated with the application.</p> </li> <li> <p>Implementation - Select <span class="bold">Classic</span>.</p> </li> <li> <p>Include Analysis Pages - Leave blank.</p> <p>If selected, you are prompted for information about additional summary reports and charts you can add to this page.</p> </li> <li> <p>Click <span class="bold">Add Page</span>.</p> <p>Notice that the pages listed in the Create Application section reflect the hierarchy of the pages in your application.</p> <p>Next, change the default page name, OEHR_DEPARTMENTS, to Departments.</p> </li> <li> <p>Click the <span class="bold">OEHR_DEPARTMENTS</span> link.</p> </li> <li> <p>Under Page Definition, change the Page Name to <code>Departments</code>.</p> </li> <li> <p>Click <span class="bold">Apply Changes.</span></p> </li> <li> <p>In the Create Application section, click <span class="bold">Next</span>.</p> </li> </ol> <p>After adding your initial pages, define some application-level settings.</p> </li> <li> <p>For Tabs, select <span class="bold">No Tabs</span> and click <span class="bold">Next</span>.</p> </li> <li> <p>For Shared Components, accept the default, <span class="bold">No</span>, and click <span class="bold">Next</span>.</p> </li> <li> <p>For Attributes, accept all the defaults and click <span class="bold">Next</span>.</p> <p>Note that Application Express is the default <a id="sthref151" name="sthref151"></a>Authentication Scheme. The authentication scheme option enables you to control users' access to the application using Application Express authentication or another type of authentication.</p> </li> <li> <p>For User Interface, select <span class="bold">Theme 18</span> and click <span class="bold">Next</span>.</p> </li> <li> <p>For Confirm, verify the information and click <span class="bold">Create</span>.</p> <p>The two pages you created, Home and Departments, appear as icons by default.</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">Note:</p> To view the pages in a list instead of as icons, from the View list select <span class="bold">Details</span> and click <span class="bold">Go</span>. Your view setting is retained from session to session. <p>Because these steps use the default setting, switch back to Icons view before continuing.</p> </td> </tr> </tbody> </table> <br /></div> <!-- class="inftblnotealso" --></div> <p>Notice that Oracle Application Express adds a Login page automatically to your application.</p> </li> </ol> <p>Congratulations! You created your first application using Oracle Application Express. Next, preview the application to see the application the way it would appear to end users.</p> <div class="sect2"><!-- infolevel="all" infotype="General" --><a id="sthref152" name="sthref152"></a> <h2>Previewing Your <a id="sthref153" name="sthref153"></a><a id="sthref154" name="sthref154"></a><a id="sthref155" name="sthref155"></a><a id="sthref156" name="sthref156"></a>Application</h2> <p>You preview your application by running it. Running the application displays the rendered version of the application as end users would see it.</p> <p>As you create pages, you can view them by running the page individually or by running the entire application. When you run a page or application, the Application Express engine dynamically renders it into viewable HTML based on data stored in the database.</p> <ul> <li> <p>To run the application, click the <a id="sthref157" name="sthref157"></a><span class="bold">Run Application</span> icon.</p> <img src="img/run_ico_sm.gif" alt="Description of run_ico_sm.gif follows" title="Description of run_ico_sm.gif follows" longdesc="img_text/run_ico_sm.htm" /><br /> <a id="sthref158" name="sthref158" href="img_text/run_ico_sm.htm">Description of the illustration run_ico_sm.gif</a><br /> <br /></li> <li> <p>To run the page, click the <a id="sthref159" name="sthref159"></a><span class="bold">Run Page</span> icon.</p> <img src="img/run_ico_green.gif" alt="Description of run_ico_green.gif follows" title="Description of run_ico_green.gif follows" longdesc="img_text/run_ico_green.htm" /><br /> <a id="sthref160" name="sthref160" href="img_text/run_ico_green.htm">Description of the illustration run_ico_green.gif</a><br /> <br /></li> </ul> <p>To preview your application:</p> <ol> <li> <p>On the Application home page, click <span class="bold">Run Application</span>.</p> </li> <li> <p>On the <a id="sthref161" name="sthref161"></a>Login page, enter your workspace username and password.</p> <p>You can run the application using your Application Express login credentials because you chose Application Express Authentication when creating the application. For more information, see "Establishing User Identity Through Authentication" in <a href="../sec_authentication.htm"><span class="italic">Oracle Application Express Application Builder User's Guide</span></a>.</p> <p>The <a id="sthref162" name="sthref162"></a>Home page of your application appears.</p> <img src="img/bldap_home.gif" alt="Description of bldap_home.gif follows" title="Description of bldap_home.gif follows" longdesc="img_text/bldap_home.htm" /><br /> <a id="sthref163" name="sthref163" href="img_text/bldap_home.htm">Description of the illustration bldap_home.gif</a><br /> <br /> <p>Notice that a link to the Departments page appears on the Home page because you set up that hierarchy.</p> <p>Also notice the <a id="sthref164" name="sthref164"></a>Developer toolbar at the bottom of the page. These links appear when you run an application within the development environment. The Developer toolbar offers a quick way to edit the current page; create a page, region, or page control; view session state; or toggle in and out of Debug mode.</p> </li> <li> <p>To continue previewing your application, click the <span class="bold">Departments</span> link on the Home page.</p> <p>The Departments page appears.</p> <img src="img/bldap_dept1.gif" alt="Description of bldap_dept1.gif follows" title="Description of bldap_dept1.gif follows" longdesc="img_text/bldap_dept1.htm" /><br /> <a id="sthref165" name="sthref165" href="img_text/bldap_dept1.htm">Description of the illustration bldap_dept1.gif</a><br /> <br /></li> </ol> <p>Notice that Oracle Application Express includes several features that let you perform certain tasks quickly:</p> <ul> <li> <p>Breadcrumbs - Display the hierarchy and path of the pages. Click a breadcrumb to move to a previous page.</p> </li> <li> <p>Sort - Click a column heading to sort the data.</p> </li> <li> <p>Search - Enter data to locate a record within the table. Search is <span class="italic">not</span> case sensitive.</p> </li> <li> <p>Display - Select the number of records you want to view on the page.</p> </li> <li> <p>Spread Sheet - Click the link to save the data to a CSV file.</p> </li> <li> <p>Next and Previous - Click the links to move quickly from one set of records to another.</p> </li> <li> <p>Row list - Select which set of records to view on the page.</p> </li> </ul> </div> <!-- class="sect2" --></div> <!-- class="sect1" --> <!-- 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="td_bldabout.htm"><img src="../dcommon/gifs/leftnav.gif" alt="Previous" /><br /> <span class="icon">Previous</span></a> </td> <td align="center"><a href="td_blddptrprt.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