ColdFusion Edge 2001
A Fast Track for ColdFusion Certification
International Web Services Conference & Expo East
September 23-26 in New York City
Using “Caller.” to Return Data
Using “Caller.” to Return Data
Similarly, custom tag can even write to a local variable created in caller
Or create a new one!
Using “caller.” prefix on assignment creates variable intended to be seen by caller
Would be a local variable to caller, so proper prefix in caller would be “variables”
Not needed, though
Can be used to return a process result variable
<cf_doit8>
<cfoutput>x=#x#</cfoutput>
<cfset caller.x = 2>
x=2
Result to user running test8.cfm
Test8.cfm
DoIt8.cfm
Previous slide
Next slide
Back to first slide
View graphic version
Home
Speakers
Photos
CFConf Central