Try:

<CF_customtag query="CALLER.test">

I am using this regularly now.

Russel

============================================================
  Russel Madere, Jr.         Senior Web Developer          
  ICQ: 5446158               http://www.TurboSquid.com   

Some days you eat the bear; some days the bear eats you.
============================================================
 

> -----Original Message-----
> From: Ruslan Sivak [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, January 16, 2001 14:41
> 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

Reply via email to