ColdFusion Edge 2001
A Fast Track for ColdFusion Certification
International Web Services Conference & Expo East
September 23-26 in New York City
Overriding the Isolation of Scope
Overriding the Isolation of Scope
Furthermore, custom tags can indeed read local variable created in caller
Even if not passed
“Caller.” prefix removes isolation of variable
Allows custom tag to refer to variables created in “caller”
<cfset x=1>
<cf_doit7>
<cfoutput>x=#caller.x#</cfoutput>
x=1
Result to user running test7.cfm
Test7.cfm
DoIt7.cfm
Previous slide
Next slide
Back to first slide
View graphic version
Home
Speakers
Photos
CFConf Central