Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
ColdFusion 9 Developer Tutorial

You're reading from   ColdFusion 9 Developer Tutorial Create robust professional web applications with ColdFusion

Arrow left icon
Product type Paperback
Published in Jul 2010
Publisher Packt
ISBN-13 9781849690249
Length 388 pages
Edition 1st Edition
Languages
Arrow right icon
Author (1):
Arrow left icon
John Farrar John Farrar
Author Profile Icon John Farrar
John Farrar
Arrow right icon
View More author details
Toc

Table of Contents (22) Chapters Close

ColdFusion 9 Developer Tutorial
Credits
About the Author
About the Reviewers
1. Preface
1. Web Pages—Static to Dynamic 2. Basic CFCs and Database Interaction FREE CHAPTER 3. Power CFCs and Web Forms 4. ORM Database Interaction 5. Application, Session, and Request Scope 6. Authentication and Permissions 7. CFScript 8. CF AJAX User Interface 9. CF AJAX Forms 10. CF AJAX Programming 11. Introduction to Custom Tags 12. ColdFusion Powered Views 13. Control Logic Processing 14. Guide to Unit Testing Beyond this Book Tools and Resources Index

Extra binding notes


If you have an ID on your CFForm element, then you can refer to the form element based on the container form. The following example helps us to understand this better:

Bind = "url:bindsource.cfm?myEdit={myForm:myText}"

The ColdFusion 9 documents give the following guides in order to specify the binding expressions:

  1. cfc: componentPath.functionName (parameters).

    Note

    The component path cannot use a mapping. The componentPath value must be a dot-delimited path from the web root or the directory that contains the page.

  2. javascript: functionName (parameters).

  3. url: URL?parameters.

  4. ULR?parameters.

  5. A string containing one or more instances of {bind parmeter}, such as {firstname}.{lastname}@{domain}.

The following table represents the supported formats based on attributes and tags:

Attribute

Tags

Supported formats

Autosuggest

cfinput type="text"

1,2,3

Bind

cfdiv, cfinput, cftextarea

1,2,3,5

Bind

cfajaxproxy, cfgrid, cfselect, cfsprydataset, cftreeitem

1,2,3

onChange...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image