Thanks to Peter last night for getting me past the last hump... silly me didn't have my base.cfc extending the framework. So I fixed that and made another change he recommended, and now my property.cfc looks like this:
<cffunction name="loadApplicationVariables" access="public" output="false" returntype="void"> <cfscript> var baseGW = ''; var transfer = ''; var qTypes = ''; baseGW = CreateObject("component", "model.base").configure(pathToTransferDatasourceConfig='/config/transfer/datasource.xml', pathToTransferConfig='/config/transfer/transfer.xml', pathToTransferDefinitions='/transfer/resources/definitions'); transfer = baseGW.getTransfer(); qTypes = transfer.list( "Usertype", "orderIndex" ); setProperty('usertypes', qTypes); </cfscript> </cffunction> The error I'm now getting: Variable BASEGW is undefined. The error occurred in /mnt/d/www/forum-m2/config/properties.cfc: line 17 And line 17 is the line above that is transfer = baseGW.getTransfer(); It makes no sense especially since I declared it beforehand. I've since removed that line and put the var before the baseGW that creates the object, but it made no difference. I'm so confused. :) Rob --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to Mach-II for CFML list. To post to this group, send email to mach-ii-for-coldfusion@googlegroups.com To unsubscribe from this group, send email to mach-ii-for-coldfusion-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/mach-ii-for-coldfusion?hl=en SVN: http://greatbiztoolsllc.svn.cvsdude.com/mach-ii/ Wiki / Documentation / Tickets: http://greatbiztoolsllc.trac.cvsdude.com/mach-ii/ -~----------~----~----~----~------~----~------~--~---