Yes it was.
This is the object that gets the error on the init.
<cfcomponent name="DataStruct"
implements="com.application.Interface"
hint="Data structure for passing and storing key/values">
<cfproperty name="dataStruct" type="struct" default="structNew()">
<cfset variables.dataStruct = structNew() />
<cffunction name="init" access="public" output="no"
returntype="com.application.DataStruct">
<cfreturn this />
</cffunction>
.....
Raymond Camden wrote:
> This was CF7 code? What does your component look like? Does it have
> "implements" in the cfcomponent tag? If so, thats reserved now in CF8.
>
> On 7/21/07, Brian Peddle <[EMAIL PROTECTED]> wrote:
>
>> 7 didn't seem to care to I guess the rules tightened up in 8?
>>
>>
>> Raymond Camden wrote:
>>
>>> You have a CFC that is implementing another component. You can only
>>> implement an interface.
>>>
>>> On 7/21/07, Brian Peddle <[EMAIL PROTECTED]> wrote:
>>>
>>>
>>>> I just installed CF8 to test with an application and received the error
>>>> below, I've never seen this one before.
>>>>
>>>> Component cannot implement component.
>>>> The com.jobscience.DataStruct ColdFusion component cannot implement the
>>>> com.jobscience.Interface ColdFusion component. It can only implement
>>>> interfaces.
>>>>
>>>> The error occurred in
>>>> C:\Internet\application\com\application\ErrorMessage.cfc: line 6
>>>> Called from
>>>> C:\Internet\application\com\application\application\AppLoader.cfc: line 26
>>>> Called from C:\Internet\application\Application.cfc: line 27
>>>>
>>>> 4 : <cfproperty name="errorStruct" type="com.application.DataStruct" />
>>>> 5 :
>>>> 6 : <cfset variables.errorStruct = createObject( "component",
>>>> "com.application.DataStruct" ).init() />
>>>> 7 :
>>>> 8 : <cffunction name="init" acess="public" output="yes"
>>>> returntype="com.application.ErrorMessage">
>>>>
>>>>
>>>>
>>>>
>>>
>>
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
ColdFusion 8 beta â Build next generation applications today.
Free beta download on Labs
http://www.adobe.com/cfusion/entitlement/index.cfm?e=labs_adobecf8_beta
Archive:
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:284312
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4