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

Reply via email to