I am trying to do write a custom tag that I can use to query a query. This
tag would take as arguments:
query_name
query_value
datasource
rquery
orderby
sortorder
It would look like the following:
<cfquery name="#Attributes.query_name#" datasource="#Attributes.datasource#"
dbtype="query">
select
<cfloop list="#Attributes.query_value.ColumnList#"
index="i">
#i#
<cfif
ListFindNoCase(Attributes.query_value.ColumnList,i) is not
ListLen(Attributes.query_value.ColumnList)>
,
</cfif>
</cfloop>
from
#Attributes.query_name#
order by
#Attributes.orderby# #Attributes.sortorder#
</cfquery>
<cfset "Caller.#Attributes.rquery#" = Attributes.query_name>
The problem is when I try to reference the attribute query_name. The tag
does not know what that value is. If I try to use the attribute query_value
it complains about the value being a complex value because it is the actual
query.
Please do not comment on the code as there could be a typo in this email.
But the gist of the issue is I want to have a custom tag that can query a
query.
-----Original Message-----
From: Paris Lundis [mailto:[EMAIL PROTECTED]]
Sent: Friday, July 27, 2001 1:53 PM
To: CF-Talk
Subject: RE: SkipJack CC stuff
My day job uses it... they don't like them because the SDK is for ASP
and other Microsoft variations...
Nonetheless, as a pure clearer they are great.. their web interface and
management consoles thereunder are lacking in many regards...
I like them and recommend them as a pure clearer..
-paris
-----Original Message-----
From: Chuck Hergenroeder <[EMAIL PROTECTED]>
Date: Fri, 27 Jul 2001 16:20:53 -0400
Subject: RE: SkipJack CC stuff
> I used it about a year ago. I never had any problems with it, and it
> was
> easy to implement. Verisign also has a nice product called
> PayFlowLink, you
> might want to check it out.
> http://www.verisign.com/products/payflow/
>
> -----Original Message-----
> From: Chad Gray [mailto:[EMAIL PROTECTED]]
> Sent: Friday, July 27, 2001 4:00 PM
> To: CF-Talk
> Subject: SkipJack CC stuff
>
> Anyone using SkipJack to process credit cards? Is it good, or bad?
> any
> complaints?
>
> I found a couple examples of how to implement CFHTTP commands to
> communicate with them.
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
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