ColdFusion Edge 2001
A Fast Track for ColdFusion Certification
International Web Services Conference & Expo East
September 23-26 in New York City
Altering the text between tags
Altering the text between tags
A natural next step
manipulate the text between the tags
Produce that as the result of calling the custom tag
Just assign the manipulation of thistag.generatedcontent back to itself
That result will be displayed, not the original text
<cf_doit13>testlines</cf_doit13>
<cfif thistag.executionmode is “end”> <cfset thistag.generatedcontent=ucase(thistag.generatedcontent)></cfif>
TEST LINES
Result to user running test13.cfm
Test13.cfm
DoIt13.cfm
Previous slide
Next slide
Back to first slide
View graphic version
Home
Speakers
Photos
CFConf Central