В coldfusion 10 я получаю следующую ОШИБКУ: "Произошло исключение при вызове метода обработчика событий из Application.cfc. Имя метода: onRequestStart."
Основная причина:Подробности: "Если имя компонента указано как тип возвращаемого значения, возможно, файл определения для компонента не найден или недоступен".
RootCause:Message: «Значение, возвращаемое функцией init_pagedatetype_ver04, не имеет типа gg2_pagedatetype_cfc_ver04».
*Есть идеи, что я делаю неправильно? Вот связанные файлы и соответствующий код *
ФАЙЛ №1: "\application.cfc"
<cfset THIS.mappings["/inc_CFC"]= getDirectoryFromPath(getCurrentTemplatePath())
& "/inc_CFC" >
<cffunction name="onRequestStart">
<!--- INIT page structure --->
<cfset REQUEST.paths.msg= (getDirectoryFromPath(getCurrentTemplatePath())
& "inc_CFC") >
<cfset REQUEST.gg2_pageDataStruct= 0 >
<cfinvoke
returnvariable="REQUEST.gg2_pageDataStruct"
component="inc_CFC.gg2_pagedatatype_cfc_ver04"
method="init_pagedatetype_ver04"></cfinvoke>
. . .
</cffunction>
ФАЙЛ №1: "\inc_CFC\gg2_pagedatatype_cfc_ver04.cfc"
<cfcomponent output="false"
displayname="gg2_pagedatetype_cfc_ver04"
hint="Component/Class/Module that manages all business Data " >
. . .
<cffunction name="init_pagedatetype_ver04"
returntype="gg2_pagedatetype_cfc_ver04" output="false" >
<cfset var LOCAL=StructNew()>
<!--- Do nothing but create blank object / component for now. Later on
user will call other functions to init parts of structure/component --->
<cfreturn THIS>
</cffunction>
. . .
</cfcomponent>