> I am calling cfsearch inside of a custom tag.
> 
> I need to return the resultset back to the calling template.
> 
> I have tried every method i can think of.

This is covered right in the MM "Advanced ColdFusion Development" course,
actually.

You might try something like this:

<!--- the caller of the custom tag must pass in the variable to contain the
search results --->
<cfparam name="Attributes.ReturnSearchResults">

<cfsearch name="Caller.#Attributes.ReturnSearchResults#" ...>

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
voice: (202) 797-5496
fax: (202) 797-5444

______________________________________________________________________
Get the mailserver that powers this list at http://www.coolfusion.com
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