Re: [CFCDev] cfc organisation

2005-03-09 Thread Brent Nicholas
No comment on the calling of the methods, but at work I keep all the cfc's in a folder struct like: com.Ricardo.[NameOfApp].[cfcName] ex: com.Ricardo.InternalAudit.Audit com.Ricardo.InternalAudit.AuditParticipants com.Ricardo.TravelRequest.Hotel com.Ricardo.TravelRequest.Car

Re: [CFCDev] Passing and returning var scoped objects?

2005-03-09 Thread Sean Corfield
On Wed, 9 Mar 2005 13:45:05 -0500, Ken Dunnington [EMAIL PROTECTED] wrote: Yes, create() and createAddress() (as well as update and updateAddress) are all in the same cfc. It's a bit lengthy, but Your problem is you are not var-declaring the variables into which you store queries:

Re: [CFCDev] Passing and returning var scoped objects?

2005-03-09 Thread Bill Rawlinson
dont feel bad though - alot of people have made this mistake in the past (myself included)! On Wed, 9 Mar 2005 11:05:00 -0800, Sean Corfield [EMAIL PROTECTED] wrote: On Wed, 9 Mar 2005 13:45:05 -0500, Ken Dunnington [EMAIL PROTECTED] wrote: Yes, create() and createAddress() (as well as

Re: [CFCDev] Passing and returning var scoped objects?

2005-03-09 Thread Ken Dunnington
A-ha! Thank you, Sean! I knew it was something obvious. I admit I don't var-scope my query variables, though I usually name them appropriately (createQuery, createAddressQuery etc.) Lazy programming, it gets you ever time. :) On Wed, 9 Mar 2005 14:32:58 -0500, Bill Rawlinson [EMAIL PROTECTED]