The recursive cal lis only used for reuse the query qry_getfestivities.cfm cause I’m using this in another circuit, it’s very usual. The coomon circuit store the coomon stuff, qry_, act_ and dsp_, at the moment only qry_ files. How I must to use this request.festivitiesLoaded flag?? Sorry for the inconveniences.

 

-----Mensaje original-----
De: Lee Borkman [mailto:[EMAIL PROTECTED]]
Enviado el: jueves, 18 de abril de 2002 10:17
Para: [EMAIL PROTECTED]
Asunto: Re: fuse location and fbx_switch question

 

Ahh, Rule One for Recursion (this is true no matter what architecture/language you are using):

"There must be some condition where the recursive call is not made, so that the recursion eventually bottoms out."

 

As I said, I can't think of any particular reason that I would want to make a recursive call from within fbx_settings, but if I did, then there would have to be some conditional logic around the recursive call.

 

In your case, you might use a boolean flag called "request.festivitiesLoaded" or similar.

 

Huzzah, yes?

 

LeeBB

 

----- Original Message -----

From: Xavi

 

 

I was entering in a infinite loop…. Try it.

If I use <cfmodule template="index.cfm" fuseaction="common.getFestivities" return="getFestivities"> on fbx_settings root I get an infinite loop

But if I use <cfinclude template="#fusebox.rootPath#common/qry_getFestivities.cfm"> it works…. If I use cfmodule out the fbx_settings then works.

 

Why?

 

 

 

 

-----Mensaje original-----
De: Lee Borkman [mailto:[EMAIL PROTECTED]] 

Why can't you use CFMODULE in fbx_settings?  I've never heard that one before.  Just be aware that you mightn't have set the value of #self# yet.  Apart from that, I can't see any problem.  Mind you, that doesn't mean I think of too many good reasons to do it. ;-)

----- Original Message -----

From: Xavi

 

But u can’t use cfmodule in fbx_seetings root … so, if u want call a qry_whatever in fbx_settings.cfm  u must call it with cfinclude, does make sense?

 

 

==^================================================================
This email was sent to: [EMAIL PROTECTED]
 
EASY UNSUBSCRIBE click here: http://topica.com/u/?bUrFMa.bWcdnK
Or send an email to: [EMAIL PROTECTED]
 
T O P I C A -- Register now to manage your mail!
http://www.topica.com/partner/tag02/register
==^================================================================


==^================================================================
This email was sent to: [email protected]

EASY UNSUBSCRIBE click here: http://topica.com/u/?bUrFMa.bV0Kx9
Or send an email to: [EMAIL PROTECTED]

T O P I C A -- Register now to manage your mail!
http://www.topica.com/partner/tag02/register
==^================================================================

Reply via email to