> Just to note, there is a performance difference between
> your two methods. Specifically, passing data through the
> attributes scope of a custom tag causes a copy of the
> variable to happen. As you can imagine copy variables
> can have a performance impact if there is a significant
> number of variables to copy and/or variables with a large
> amount of data.
This can be worked around with complex variables like structures and queries
by passing only the name of the variable, i.e. <cfmodule
template="mycustomtag.cfm" query="myquery"> At the top of the custom tag
script, you simply use evaluate() to create a pointer to the object from the
name provided as in, <cfset myquery = evaluate("caller.#attributes.query#")>
Isaac
www.turnkey.to
954-776-0046
______________________________________________________________________
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