Hi, I hawe a query in one modul. Then I want to give the query to a custom tag
<CF_Out> that writes the output of the query. Is this possible? I have tried to
take the query name and send it to the tag <CF_Out q='queryName' i='outvalue'>
and then make a loop in the cf_out tag. <cfloop query='#attributes.q#>
#Evaluate(attributes.i)I# </cfloop> But this does not work. I get the
following error: Attribute validation error for tag cfloop. The value of the
attribute query, which is currently 'queryName', is invalid. Any
surgestions?
Adam Cameron - 26 Nov 2004 21:29 GMT
> take the query name and send it to the tag <CF_Out q='queryName' i='outvalue'>
<cf_out q='#queryName#'>
...
<cfloop query="attributes.q">
You pass the actual query into the cust tag, and reference it by NAME in
the <cfloop>.
Adam