MACROMEDIA COLDFUSION MX 7.0.2-USING COLDFUSION MX WITH FLEX 2 Use Manual page 84

Table of Contents

Advertisement

Tips for creating applications with the ColdFusion/
Flex Application wizard
Although the ColdFusion/Flex Application wizard greatly simplifies creating CRUD
applications, you should keep the following in mind to ensure that you create the application
that you designed.
To adjust UI elements, open the MXML file in Flex Builder 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
cfqueryparam
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 appears as a check box.
Memo and CLOB values appear as a text area.
Everything else appears as a text input control.
84
Using the ColdFusion Extensions for Flex Builder
tag. Doing this is optional.

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the COLDFUSION MX 7.0.2-USING COLDFUSION MX WITH FLEX 2 and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Coldfusion mx

Table of Contents