Title: Message

Great, then I’ll try and slip in an additional question.  An additional section within this email is made up of 6 thumbnail size banners.

 

Instead of creating six different objects (and since the numbers of banner can change) I am creating a structure which hold individual objects. 

 

<cfset variables.lowBanners = new Struct() />

 

Again does that seem kosher?

 

Sorry for the simple questions but I’ve been away from CFCs and Mach-II for a bit, as I was stuck in the wonderful land of Actionscript and movieclips.

 

Thanks,

 

Sean

 

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bryan F. Hogan
Sent: Friday, January 16, 2004 11:47 AM
To: [EMAIL PROTECTED]
Subject: RE: [CFCDev] Initiating an Object within a CFC

 

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