Contents
vii
Array Functions.............................................................................................................................111
About Structures ...........................................................................................................................113
Structure notation .................................................................................................................113
Creating and Using Structures.....................................................................................................114
Creating structures................................................................................................................114
Adding data to structures .....................................................................................................114
Finding information in structures .......................................................................................115
Getting information about structures .................................................................................115
Copying structures ................................................................................................................116
Deleting structures................................................................................................................116
Structure Example ........................................................................................................................117
Using Structures as Associative Arrays .......................................................................................119
Looping through structures..................................................................................................119
Structure Functions ......................................................................................................................120
Chapter 10: Building Dynamic Forms .........................................................123
Creating Forms with the CFFORM Tag .......................................................................................124
Using HTML in a CFFORM...................................................................................................124
CFFORM controls..................................................................................................................124
Improving performance with ENABLECAB ........................................................................125
Browsers that disable Java ....................................................................................................125
Input Validation with CFFORM Controls ...................................................................................126
Input Validation with JavaScript .................................................................................................127
JavaScript objects passed to the validation routine ...........................................................127
Handling failed validation ....................................................................................................127
Building Tree Controls with CFTREE ..........................................................................................129
Grouping output from a query .............................................................................................130
CFTREE form variables .........................................................................................................131
Input validation .....................................................................................................................132
Structuring Tree Controls.............................................................................................................132
Image names in a CFTREE....................................................................................................133
Embedding URLs in a CFTREE ....................................................................................................134
Specifying which tree items to send to the action page .....................................................135
Creating Data Grids with CFGRID...............................................................................................135
Populating a grid from a query.............................................................................................136
Creating an Updateable Grid .......................................................................................................137
Editing data in a CFGRID......................................................................................................138
Building Slider Bar Controls.........................................................................................................142
CFSLIDER form variable .......................................................................................................142
Building Text Entry Boxes ............................................................................................................142
CFTEXTINPUT form variable...............................................................................................143
Building Drop-Down List Boxes ..................................................................................................143
Embedding Java Applets ..............................................................................................................144
Registering a Java applet.......................................................................................................145
Using CFAPPLET to embed an applet .................................................................................146
Handling form variables from an applet .............................................................................147
Содержание COLDFUSION 4.5-DEVELOPING WEB
Страница 1: ...Allaire Corporation Developing Web Applications with ColdFusion ColdFusion 4 5...
Страница 14: ...xiv Developing Web Applications with ColdFusion...
Страница 26: ...xxvi Developing Web Applications with ColdFusion...
Страница 34: ...8 Developing Web Applications with ColdFusion...
Страница 70: ...44 Developing Web Applications with ColdFusion...
Страница 84: ...58 Developing Web Applications with ColdFusion...
Страница 114: ...88 Developing Web Applications with ColdFusion...
Страница 148: ...122 Developing Web Applications with ColdFusion...
Страница 174: ...148 Developing Web Applications with ColdFusion...
Страница 208: ...182 Developing Web Applications with ColdFusion...
Страница 244: ...218 Developing Web Applications with ColdFusion...
Страница 274: ...248 Developing Web Applications with ColdFusion...
Страница 288: ...262 Developing Web Applications with ColdFusion...
Страница 300: ...274 Developing Web Applications with ColdFusion...
Страница 350: ...324 Developing Web Applications with ColdFusion...
Страница 362: ...336 Developing Web Applications with ColdFusion...