Chapter 3 - Passing data Between templates
3 - 1 Set variables to be passed to another template
3 - 2 URL Parameters from the Previous Template
3 - 4 URLEncodedFormat(MyString)
3 - 5 Loop over the URL structure and output all of the variable names
and their associated values3 - 6 Employee Contact Information
3 - 8 Multiple Selection List Example - SUBMIT
3 - 9 Checkbox and Radio Button Example
3 - 10 Article Submission Form
3 - 11 Create a form field called form.Phone
3 - 12 LOOP Variable Name Value
3 -13 LOOP Fieldnames From A Form
4 - 2 Sorting Query Results Using the SQL ORDER Clause
4 - 3 Failing to Use the group Attribute Results in Duplicate Values in the Output
4 - 4 Using the group Attribute of the cfoutput Tag to Group Records by Department
12 -Formatting Locale Specific Currency Values using LSCurrencyFormat
13 - Formatting Locale Specific Date Values using LSDateFormat
14 - Formatting Locale Specific Currency Values with the Euro using LSEuroCurrencyFormat
15 - Formatting Locale Specific Numeric Values using LSNumberFormat
17 - Formatting Numeric Values using NumberFormat
18 - Paragraph with the double newline characters.
Chapter 5 - Maintaining Database Records
5 - 1 - Add a New User
5 - 2 - Record Inserted!
5 - 3 - Record Inserted using cfinsert without Field Names!
5 - 4 - Record Inserted using cfinsert with Specific Field Names!
5 - 5 - Employee Profiles
5 - 6 Employee Profiles
5 - 7 - Edit an Existing User
5 - 8 - Record updated using cfquery!
5 - 9 - Record updated using cfupdate without Field Names!
5 - 10 - Record updated using cfupdate with Specific Field Names!
5 - 11 - Populating a Text Area
5 - 12 - Populating a Select List
5 - 13 - Populating a Multiple Select Box
5 - 14 - Populating Multiple Checkboxes
5 - 15 Populating Radio Buttons
5 - 16 - Please select the employee you wish to delete
5 -17 - Please select the employee(s) you wish to delete
18 - insert.cfm - Record Inserted using cfinsert with Specific Field Names!
19 - insertform.cfm - Add a New User
20 - updateform.cfm - Record updated using cfupdate with Specific Field Names!
21 - updatemenuform.cfm Employee Profiles
6 - 1 - List1 (#List1#) contains #ListLen(List1)# elements.<br>
6 - 3 - cfloop index="Element" from="1" to="#ArrayLen(Grades)#
6 - 4 - Create a two dimensional array of student Grades
6 - 7 - cfloop index="position"
6 - 9 - Employees in an Array of Structures
6 - 10 - Create a table and output the contents of the query object
11 - complexValuesInQueryCells.cfm
12 - listfirst.cfm - ListFirst
15 - queryArraySyntax.cfm - Products = QueryNew
16 - strutCopy.cfm - Create a copy and a duplicate of the structure
Setting Up the Web Application Framework7-1.cfm <cfsilent> Data- output- Suppresses output produced by CFML within the tag's scope.
(My Portal)
7-3.cfm - 7.3a.cfm
Using Shared Scope Variables7.4.cfm this is a called .css template
7.5.cfm EMAIL call customize.cfm
7.6.cfm STOCKS call customize.cfm
7.7.cfm NEWS HEADLINEScall customize.cfm
7.8.cfmBOOKMARKS call customize.cfm
7.9.cfm Customize Your Portal call customize.cfm
Browser Redirection
PORTAL
<!--- Set the default session state to false, meaning that by default,
users are not logged into the application ---><!--- If the login is successful, log the user in. Otherwise, redirect
them back to the login.cfm page ---><!--- Check to see that passwords match in case the user had JavaScript disabled --->
<!--- Check to make sure the username (the primary key) doesn't already
exist. If it does, make the user go back and enter a different username ---><!--- You may use other files here. Simply change the file name and MIME
type to match the file you wish to use ---><!--- Check to make sure the filename and mime type were passed in
before processing --->user login revisited
<cfheader statuscode="401">
<cfheader name="WWW-Authenticate" value="Basic realm=""MyPortal""">
<h3>You are not authorized to access the portal</h3>My Portal revisited
file="c:\SecuredFiles\#URL.Filename#">
Implementing Security from Scratch
Taking Advantage of ColdFusion MX's New Security Framework9. Error and Exception Handling
Basic Exception Handling
Custom Exception Handling
Rethrowing Exceptions
Error Handling Within the Web-Application Framework
Server-Wide Error Handling
10. Dynamic Form Controls
Combining HTML and CFML Form Controls
Basic Input Controls10-1.cfm submits to own html
10-2cfm Error check numbers
10-3.cfm username PASSWORD-CONFIRM PASSWORD
Textual Input10-4.cfm text input
10-5.cfm text/numeric input
A Selection Control
10-6.cfm textBOX submit
10-7.cfm submit CALLING DATASOURCE - PROGRAMMINGCF
Sliders10-8.CFM SLIDER JAVA APPLETS
10-9.CFM SLIDER JAVA APPLETS
10-10.CFM SLIDER JAVA APPLETS
Grids
10-11.CFM THROUGH 10-18.CFM
Trees10-25.cfm -10-26.cfm COMBINATION OF ALL OF ABOVE
Preserving Input
Custom ControlsGO TO CHAPTERS 11 - 17
dsn=ProgrammingColdFusion
Steve McKean
UH-Email
CT FORUM CF
user - enter
Steve McKean
UH-Email
CT FORUM CF
user - enter
CFMX HISTORY RESOURCES
OBJECTIVESEXERCISES
Implementation aspects: