Hi All,

I am migrating from application.cfm to applicaton.cfc and have following issues.


In my application.cfm I have some statements like :

    <CFSET loadAppCFC("comUDF", "comUDF", Application.ini.debug.ReloadObjects)>

The loadAppCFC method is defined within the Application.cfm itself. There are 
few other functions which are defined in Application.cfm and are used in 
Application.cfm (as above example.)

Noe the comUDF is again a cfc which has many user defined functions which are 
required on every page.

The other methods defined directly in Application.cfm are also required to be 
loaded for each page. While migrating to application.cfc I took all the 
functions from Application.cfm and put it in one file. Then I inluded the 
following event.

<cffunction name="onRequest">    
<cfargument name="targetPage" type="String" required=true/>    
<cfinclude template="all_udf.cfm">
<cfinclude template="#arguments.targetPage#">
</cffunction>

But Still I get error as "Variable COMUDF is undefined.". Not sure what's 
happening. Please help.



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:325712
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to