Instantializing a CFC with an initializer no longer works for us. (I could
have swore it did at one time).
Consider this CFC:
<!--- File: CFC_WithInit.cfc --->
<CFFUNCTION name="Init" returntype="void">
<CFOUTPUT> <h1>The string = #SomeStr#</h1> </CFOUTPUT>
<!--- End of File. --->
Now call it with this code:
<CFSET zObj = CreateObject ("component", "CFC_WithInit").Init ("Sic semper
<CFOUTPUT> <h1>zObj is #IIf (IsDefined ("zObj"), DE (""), DE ("NOT"))#
We see that the init function does run but the object is not available for
use! That is, it wasn't "created" in the usual sense.
Can anybody ...