Try <CFSET SetVariable("Caller.#variable#", VALUE)>

Ben Forta's basic CF 5.0 book has a great section on this - page 632 or so.

Ian

-----Original Message-----
From: Dave Carabetta [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, June 11, 2002 7:38 AM
To: CF-Talk
Subject: Call a variable in a Custom Tag?


I know that, within a custom tag, I can set/update a variables on the
calling page using the "caller" scope. However, is there a way to do the
opposite? On the calling page, I'd like to "reach in" to the custom tag and
pull out a variable that gets set.

The reason why I'd like to do it this was is that it seems that my custom
tag would be a bit more "modular" in that if the tag is called from another
application using a different variable name, I'm not dependant on the
variable name I've used in the custom tag.

Thanks,
Dave.



______________________________________________________________________
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to