Yes -- have you tried what you describe? I think that should work as you
typed it!
-----Original Message-----
From: Ruslan Sivak [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 16, 2001 12:41 PM
To: CF-Talk
Subject: Passing Queries to custom tags
Is there a way to pass a query to a custom tag?
example
<CFQUERY name="test" datasource="#datasource#">
Select name
FROM sometable
</CFQUERY>
<CF_customtag query="test">
and then inside the custom tag i would like to be able to access that query.
<CFOUTPUT>
#test.name#
or more appropriately
#evaluate("#attributes.query#.name")#
</CFOUTPUT>
Ruslan Sivak
Technologist
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists