Difference between revisions of "Starter Application"

From ADF Docs
Jump to: navigation, search
(Sample Page)
(Sample Page)
Line 20: Line 20:
  
 
== Sample Page ==
 
== Sample Page ==
* Create a new page.
+
* Create a new page in your site.
 
* Place the Custom Script element on the page.
 
* Place the Custom Script element on the page.
 
* Edit the element and define the explicit path: ''/ADF/apps/starter_app/customcf/sample.cfm''
 
* Edit the element and define the explicit path: ''/ADF/apps/starter_app/customcf/sample.cfm''
 
* Publish the page and put in read mode.
 
* Publish the page and put in read mode.

Revision as of 17:20, 13 April 2010

Overview

The Starter Application provides a base for developing a new ADF applications.

The application highlights a few key fundamentals and features for building ADF apps. Use this application to learn about ADF apps and how to build/customize apps for your requirements.

Follow the steps below to download, install, and run the starter app.

Download

Download the code from The Commons Starter App Project.

Extract the zip files into the following directory: /ADF/apps/starter_app/

Configuration

  • Make sure the ADF is setup and running on the site. If the ADF is not setup, then follow the instructions for ADF Site Level ADF Component.
  • Open the sites 'ADF.cfc' file in a text editor. Locate the Load the ADF Application into application space commentin the file. Add (or uncomment) the following command under the comment section:
loadApp("starterApp");

Sample Page

  • Create a new page in your site.
  • Place the Custom Script element on the page.
  • Edit the element and define the explicit path: /ADF/apps/starter_app/customcf/sample.cfm
  • Publish the page and put in read mode.