also, I am using ColdSpring to pass in initialised objects So this should avoid the recursive calls.
2009/2/2 Simon Haddon <simon.had...@gmail.com> > Sometimes you cannot extend it cause the CFC you want to work with could > dynamically change. I have had this situation on scientific applications > which worked with synthesised data and the CFC being called changed > depending on what analysis they performed. In this case I wanted the same > interface for all the components. > > Having said that. If A calls B and then B calls A I would rethink your > design as I do not think that type of tight coupling is a good idea. And, > especially if B is called in init, you could end up in a recursive situation > in no time at all. > > Cheers, > Simon > > 2009/2/2 Steve Onnis <st...@cfcentral.com.au> > >> why pass it in? cant you extent to it? >> >> ------------------------------ >> *From:* cfaussie@googlegroups.com [mailto:cfaus...@googlegroups.com] *On >> Behalf Of *AJ Mercer >> *Sent:* Monday, 2 February 2009 3:52 PM >> *To:* cfaussie@googlegroups.com >> *Subject:* [cfaussie] CFC call function of calling CFC >> >> If b.cfc is passed to a.cfc on init() >> and I call a.function1a() with then calles b.fuction1b() >> can function 1b call I function 2a() [which in in a.cfc] >> >> And if it can, is this a bad practice? >> >> >> -- >> AJ Mercer >> Web Log: http://webonix.net >> >> >> >> >> > > > -- > Cheers > Simon Haddon > > Woman loves feeling danger and speed. That is why woman wants man. They > get a speed rush that is the most dangerous of all. > > > > > -- AJ Mercer Web Log: http://webonix.net Once you come to the realisation that everyone is crazy, You will never be surprised or disappointed ever again. AJM 2008 --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "cfaussie" group. To post to this group, send email to cfaussie@googlegroups.com To unsubscribe from this group, send email to cfaussie+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en -~----------~----~----~----~------~----~------~--~---