> 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.

Since Custom Tags (CF_ and CFMODULE) are effectively "destroyed" once
they've finished, you must set a variable on the outside before it's
killed

Use one of the scopes that's visible everywhere, such as Request

Philip Arnold
Technical Director
Certified ColdFusion Developer
ASP Multimedia Limited
Switchboard: +44 (0)20 8680 8099
Fax: +44 (0)20 8686 7911

www.aspmedia.co.uk
www.aspevents.net

An ISO9001 registered company.

**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.
**********************************************************************


______________________________________________________________________
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