On 4/17/07, Steve Onnis <[EMAIL PROTECTED]> wrote:
> I got that far but was unsure as to how to structure the CFC so that it
> validated. Do you set up properties or something? Or does it call the INIT
> method automatically?
Basically you are passing a reference to an instance of an object of a
specific type:-
<cfset myNumericList = CreateObject("component","com.onnis.MyNurmericList")>
<cfset myNumericList.somemethod(somevalue)>
<cfif myNumericList.isValid()>
<cfset myCFC.method(myNumericList)>
</cfif>
Unfortunately there are many ways it initialise the cfc. It's up to
you to choose one. Certainly an init method is one, but as far as I'm
aware, there's no automatic calling of a constructor method. But you
still need to pass it the values of your list.
Chris
--
Chris Velevitch
Manager - Sydney Flash Platform Developers Group
m: 0415 469 095
www.flashdev.org.au
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"cfaussie" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/cfaussie?hl=en
-~----------~----~----~----~------~----~------~--~---