ColdFusion Edge 2001
A Fast Track for ColdFusion Certification
International Web Services Conference & Expo East
September 23-26 in New York City
My Textareaformat custom tag
My Textareaformat custom tag
Found on the Allaire developer’s exchange
Solves this problem
Converts:
Single line break to <br>
Double line break to <p>
Multiple spaces to multiple ’s
Converts Tabs to 8 ’s
Would itself be a good candidate for paired tag design
<cf_doit14>test lines</cf_doit14>
<cfif thistag.executionmode is “end”> <cfset hold=thistag.generatedcontent> <cf_textareaformat input="#ucase(hold)#"> <cfoutput> #htmlformatted_string# </cfoutput></cfif>
Test Lines
Result to user running test14.cfm
Test14.cfm
DoIt14.cfm
Previous slide
Next slide
Back to first slide
View graphic version
Home
Speakers
Photos
CFConf Central