Hmm...seems like way too much but along those lines I'll try similar.
No ideas on how cfquery does it?
On 10/24/05, Barney Boisvert [EMAIL PROTECTED] wrote:
Hellishly slow, but you could take the tag body, write it to file
(with CFOUTPUT tags), and then CFINCLUDE it inside CFSAVECONTENT.
CFQUERY is not a custom tag, it's a full blown CF tag, which is
basically a cross between [primitive] CFOUTPUT and CFSAVECONTENT to
get the SQL statement, and then a bunch of database interaction stuff.
It also deals with CFQUERYPARAM, of course.
If you do go with something similar to what I
Yeah, gotcha on cfquery. Just wasn't sure if there was something under the
hood I didn't know about.
Well, the tag won't be used too often (not trying to reinvent the wheel) so
it doesn't need to be an enterprise version but your suggestions are
greatly appreciated. I'll look into these things.
If you sould specify that the content of a custom tag was treated as if
wrapped in cfoutput, that would be a very nice CF feature. Unfortunately
you can't.
Now, I know cfquery has a built in cfoutput. How can I add a
built in cfoutput into my custom tag? Hopefully I'm clear as
to what I'm
Hellishly slow, but you could take the tag body, write it to file
(with CFOUTPUT tags), and then CFINCLUDE it inside CFSAVECONTENT.
You'd have to manually change all the references to 'caller' scope,
however, which would be messy.
Not that I'm recommending that route, but it would be a way to
5 matches
Mail list logo