Title: Message
I could be wrong, but I don't see anything wrong with that at all.
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of sean
Sent: Friday, January 16, 2004 11:43 AM
To: [EMAIL PROTECTED]
Subject: [CFCDev] Initiating an Object within a CFC

This is a simple question but I must ask it.

 

I am creating a marketing email cfc and using composition to call it various other objects (i.e. see content).

In my previous application I would initialize my variables through the following lines

 

<cfset variables.highBid = 0 />

 

For a “simple” data type, that is fine, but how about for an object ? Can I do the following and still be within the rules and regulations of OO parlay?

 

<cfset variables.auctionListing = createObject(‘Component’,’Marketing.Auction_Listing’) />

 

Any help is appreciated?

 

Thanks,

 

Sean Scott

Reply via email to