Thanks for everyone's answers.I blogged my experiences here:http://www.leifwells.com/index.cfm/2006/10/20/Fun-with-Coldfusion-BlogCFC-Ant-and-ACFUG
If you have any suggestions about my setup, feel free to let me know.Leif
-
To
everything in CF is a string! :)1) see above. ;) Really, I don't know how, there is no isString(). 2) checkout listToArray().
http://livedocs.macromedia.com/coldfusion/7/htmldocs/wwhelp/wwhimpl/common/html/wwhelp.htm?context=ColdFusion_Documentationfile=part_cfm.htmIts been sometime since I did
If it is a comma delimeted list then:Question 1: How would test to see if this actually is a String? ListLen(variableName) gt 0Question 2: How do I convert this String to an Array? Or is there a better way to process a cfselect element?
ListToArray(variableName)TeddyOn 10/19/06, Leif Wells [EMAIL
To really detect for existance of a string you may want to additionally peformcfif IsSimpleValue(variable) and Trim(variable) new This will ensure that the variable is a string, number or a boolean and that the value of the variable is not empty.
TeddyOn 10/19/06, Douglas Knudsen [EMAIL PROTECTED]
lp someone. :-)
/charlie
http://www.carehart.org/blog/
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of Leif WellsSent: Thursday, October 19, 2006 5:01
PMTo: discussion@acfug.orgSubject: [ACFUG Discuss] Reading
the results of a cfselect form element
All,Sorry for the beginner's question (
Just to clarify, that's a CF7-only
feature.
/charlie
http://www.carehart.org/blog/
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of Andrew PowellSent: Thursday, October 19, 2006
6:04 PMTo: discussion@acfug.orgSubject: Re: [ACFUG
Discuss] Reading the results of a cfselect