oh, and I would prefer to use the query in a seperate tag as I it is akinda
controller for other things related to the usertables.......

-----Original Message-----
From: Robertson-Ravo, Neil (REC)
[mailto:[EMAIL PROTECTED]]
Sent: 22 August 2002 13:54
To: CF-Talk
Subject: RE: Caller problem


I am saying exactly that.......with one difference...the Query is actually
in a custom tag...thus .

<cf_myquerytag ....>
<cf_customtagwhich uses query above..>

this fails on Caller.{QUERYNAME}.COLUMNLIST 


N



-----Original Message-----
From: Raymond Camden [mailto:[EMAIL PROTECTED]]
Sent: 22 August 2002 13:44
To: CF-Talk
Subject: RE: Caller problem


Are you saying it's not working then? 

=======================================================================
Raymond Camden, ColdFusion Jedi Master for Hire

Email    : [EMAIL PROTECTED]
Yahoo IM : cfjedimaster

"My ally is the Force, and a powerful ally it is." - Yoda 

> -----Original Message-----
> From: Robertson-Ravo, Neil (REC) 
> [mailto:[EMAIL PROTECTED]] 
> Sent: Thursday, August 22, 2002 8:34 AM
> To: CF-Talk
> Subject: RE: Caller problem
> 
> 
> Thanks Ray,
> 
> Once thing though.... the actual logic I have should work 
> then.. giving what
> you just put..
> 
> it is this : 
> 
> <query...>
> <customtag which uses query....>
> 
> 
> N
> 
> -----Original Message-----
> From: Raymond Camden [mailto:[EMAIL PROTECTED]]
> Sent: 22 August 2002 13:16
> To: CF-Talk
> Subject: RE: Caller problem
> 
> 
> If the only reason you are running a query is to perform 
> authentication,
> why not move the query into the custom tag? As for the code 
> working when
> the query is above the CT, remember that CF processes from 
> the top down.
> 
> For example, you can't do this:
> 
> <cfoutput>#x#</cfoutput>
> <cfset x = 1>
> 
> So it makes sense you can't do:
> 
> <cf_authent query="blah">
> <cfquery name="blah"> ... </cfquery>
> 
> ==============================================================
> =========
> Raymond Camden, ColdFusion Jedi Master for Hire
> 
> Email    : [EMAIL PROTECTED]
> Yahoo IM : cfjedimaster
> 
> "My ally is the Force, and a powerful ally it is." - Yoda 
> 
> > -----Original Message-----
> > From: Robertson-Ravo, Neil (REC) 
> > [mailto:[EMAIL PROTECTED]] 
> > Sent: Thursday, August 22, 2002 7:05 AM
> > To: CF-Talk
> > Subject: Caller problem
> > 
> > 
> > I have a custom tag which relies on getting a query result 
> of users n
> > passwords for authentication etc.... the tag is called and it 
> > reads in a
> > query, but it will only work if the query is immediately 
> > above the CT call.
> > 
> > If I try and place the query into a custom tag itself it 
> > doesnt work... I
> > get a caller error.... is there anywhere around this?
> > 
> > i.e.
> > 
> > <cfquery name="blah">
> >  ....
> > </cfquery>
> > 
> > <cf_authent query="blah">
> > 
> > (This one works......)
> > 
> > 
> > <cf_users method="get"> (where get holds the query above)
> > 
> > <cf_authent query="blah">
> > 
> > (this doesnt, I get a caller error...)
> > 
> > Its thursday, and I have a Monday brain fart :-)  I guess its 
> > because the CT
> > scope is not available for some reason?
> > 
> >  Neil
> > 
> 
> 


______________________________________________________________________
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.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

Reply via email to