Adobe COLDFUSION 9 Manual page 1345

Developing applications
Hide thumbs Also See for COLDFUSION 9:
Table of Contents

Advertisement

DEVELOPING COLDFUSION 9 APPLICATIONS
Using External Resources
The Project information page appears.
9
Specify the following:
• The context root, if applicable
• Whether to include a login page in the application
• The location of the services-config.xml configuration file that the project should use
• The web root URL
• Whether to use an existing or new Flash Builder or Eclipse project
• The project name and the location of the project if it is new
10
Click Finish.
The ColdFusion/Flex Application wizard creates the ColdFusion and Flex files that comprise your application. You
can test the application by clicking the Run Main button in Flash Builder or Eclipse, or by browsing to the main
application page, which is located at http://<server_name>:<port_number>/<project_name>/bin/main.html. You can
also manually modify the application files as appropriate for your needs.
Tips for creating applications with the ColdFusion/Flex Application wizard
Although the ColdFusion/Flex Application wizard greatly simplifies creating CRUD applications, keep in mind the
following information to ensure that you create the application that you designed.
• To adjust UI elements, open the MXML file in Flash Builder or Eclipse design mode.
• When you create a project that has the same name as a project you previously created, the wizard creates a backup
folder that contains the files from the project you previously created.
• If you create a master page and a detail page for a table in which there is no primary key defined, the wizard selects
the first field in the database as the key value to represent the row.
• In master pages, link a field to the Parameters box to add type validation to the query by using the
tag. Doing this is optional.
• You must select a primary key column in the master form; the wizard chooses the key by default. If you create a
master page and do not link it to the id property, you cannot add it to the site tree under another master page.
• Deselect the Display column for fields that your application uses that you do not want to appear in your application.
• Specify the sort order for the field by which to sort data in the page, and specify any other conditions as appropriate.
• Change the labels for fields by clicking the field name in the Label column, and then entering a new field name.
• In a detail page, create a combo box that is populated by dynamic data. To do this, change the value in the Input
Control column for the field to use to populate the combo box to be ComboBox, click the Input Lookup Query
(sub-select) column in that field, and then use the Visual Query Builder to specify the data to use.
• When you create a detail page, display of the primary key is disabled automatically.
• When you create a detail page, input controls are assigned by default. You can change them from the default values,
which appear as follows:
• Boolean and bit values appear as a check box.
• Memo and CLOB values appear as a text area.
• Everything else appears as a text input control.
Last updated 8/5/2010
1340
cfqueryparam

Advertisement

Table of Contents
loading

Table of Contents