Thoughts, ideas, tips, musings, and pontifications (not necessarily in that order) by Ben Forta ...
NOTE: This is my personal blog, and the opinions and statements voiced here are my own.
September 24, 2007
Posted At : 8:05 AM
Related Categories:
ColdFusion :
A "Get Started with ColdFusion 8 in 30 Minutes" tutorial has been posted online, and can be downloaded from ColdFusion Developer Center Downloads page. The PDF tutorial steps are also online.
|
The "Code Snippets by Feature" section, which many will recall from CF7 offered live running examples of most tags and functions, has been substantially updated for CF8 and now included nearly every new tag and function in CF8.
This was part of a couple of things released a few weeks ago in the "Getting Started Experience" for CF8 on the CF site. Folks may have noticed that the official release (what they downloaded) had no such changes foir CF8 in the local version of this (accessible from the CF Admin), but it is available on the web site (like that PDF, which wasn't updated as much). More at:
http://carehart.org/blog/client/index.cfm/2007/8/2...
When will you publish your CF 8 book?
Thanks
(Perhaps you're confused because Ben doesn't list it on the front of his books page, at http://www.forta.com/books/. I leave that here for Ben to consider. Ben, you can delete this portion of my comment if/when you do.)
Thanks for your information.
I'm jazzing up my web-apps now that I have CF8 in hand and I have a question regarding the AutoPopulate text field.
Since this code works fine:
<!--- Get data --->
<cfquery datasource="conferences" name="name">
SELECT l_name AS wholeName
FROM CONF_ATTENDEE_TBL
</cfquery>
<!--- Auto Suggest --->
<cfform>
Your Name:
<!--- Populate auto-suggest control --->
<cfinput type="text" name="attendeeName" autosuggest="#ValueList(name.wholeName)#">
</cfform>
Why doesn't this work? (the SQL returns the concat. string fine when run alone)
<!--- Get data --->
<cfquery datasource="conferences" name="name">
SELECT l_name+f_name AS wholeName
FROM CONF_ATTENDEE_TBL
</cfquery>
<!--- Auto Suggest --->
<cfform>
Your Name:
<!--- Populate auto-suggest control --->
<cfinput type="text" name="attendeeName" autosuggest="#ValueList(name.wholeName)#">
</cfform>
I didn't think to check my data and look for JavaScript errors. I was hitting an old Development DB that had bad names in it like: O'Connor The single tick was killing the JavaScript ;-)
However, good reminder for all programmers, remember ALL user data is EVIL and must be filtered BEFORE you store it in a DB...