Ok, I create a super simple application and I still have the same issue. Below are the relevant files. I can't attach since it is blocked at our firewall. Thanks.
--------------------------------------------- COLDBOX CONFIG ------------------------------------------------------------
component
{
void function configure()
{
coldbox =
{
AppName ="Simple",
AppMapping ="application",
DebugMode =false,
DebugPassword ="",
EventName ="event",
DefaultEvent ="ehSimple.start",
RequestStartHandler ="",
RequestEndHandler ="",
SessionStartHandler ="",
SessionEndHandler ="",
UDFLibraryFile ="",
CustomErrorTemplate ="",
HandlersIndexAutoReload =true,
ConfigAutoReload =true,
ExceptionHandler ="",
onInvalidEvent ="",
HandlerCaching =false,
RequestContextDecorator ="",
ProxyReturnCollection =false
};
ioc = {
framework = "wirebox",
objectCaching = false,
definitionFile = "application.config.SimpleWirebox"
};
wirebox = {
enabled = true
};
}
}
--------------------------------------------------------------- WIREBOX BINDER --------------------------------------------------------------
map("simpleService").to("application.aro.extranet.Simple");
}
}
------------------------------------------------------------------- Application.cfc -----------------------------------------------------
<!-----------------------------------------------------------------------
********************************************************************************
Copyright 2005-2007 ColdBox Framework by Luis Majano and Ortus Solutions, Corp
www.coldboxframework.com |
www.luismajano.com |
www.ortussolutions.com********************************************************************************
Author : Luis Majano
Date : 10/16/2007
Description :
This is the Application.cfc for usage withing the ColdBox Framework.
Make sure that it extends the coldbox object:
coldbox.system.coldbox
So if you have refactored your framework, make sure it extends coldbox.
----------------------------------------------------------------------->
<cfcomponent output="false" extends="coldbox.system.Coldbox">
<cfsetting enablecfoutputonly="yes">
<!--- APPLICATION CFC PROPERTIES --->
<cfset
this.name = hash(getCurrentTemplatePath())>
<cfset this.applicationName = hash(getCurrentTemplatePath())>
<cfset this.sessionManagement = true>
<cfset this.sessionTimeout = createTimeSpan(0,0,30,0)>
<cfset this.setClientCookies = true>
<!--- COLDBOX STATIC PROPERTY, DO NOT CHANGE UNLESS THIS IS NOT THE ROOT OF YOUR COLDBOX APP --->
<cfset COLDBOX_APP_MAPPING = "application">
<cfset COLDBOX_APP_KEY = ""> --->
<cfset COLDBOX_APP_ROOT_PATH = getDirectoryFromPath(getcurrenttemplatepath())>
<!--- COLDBOX PROPERTIES --->
<cfset COLDBOX_CONFIG_FILE = "application.config.simple">
<cfset COLDBOX_APP_MAPPING = "application">
<!--- on Application Start --->
<cffunction name="onApplicationStart" returnType="boolean" output="false">
<cfscript>
//Load ColdBox
loadColdBox();
return true;
</cfscript>
</cffunction>
<!--- on Request Start --->
<cffunction name="onRequestStart" returnType="boolean" output="true">
<!--- ************************************************************* --->
<cfargument name="targetPage" type="string" required="true" />
<!--- ************************************************************* --->
<!--- Reload Checks --->
<cfset reloadChecks()>
<!--- Process A ColdBox Request Only --->
<cfset processColdBoxRequest()>
<!--- WHATEVER YOU WANT BELOW --->
<!--- <cfsetting enablecfoutputonly="no"> --->
<cfreturn true>
</cffunction>
</cfcomponent>
---------------------------------------------------------------- HANDLER ------------------------------------------------------------
component extends="coldbox.system.eventhandler" output="false"
{
property name="simpleService" inject;
public function init (any controller)
{
super.init(arguments.controller);
}
public void function start(coldbox.system.web.context.RequestContext Event)
{
event.setView(view="simple",nolayout=true);
}
}
-------------------------------------------------------------------- VIEW ---------------------------------------------
<html>
<head><title>Test</title></head>
<body>I am here.<br>
<cfset mappingStruct = getController().getWireBox().getBinder().getMappings()>
<cfoutput>
<cfloop collection="#mappingStruct#" item="mapping">
<cfif mappingStruct[mapping].getType() eq "cfc">
#arrayToList(mappingStruct[mapping].getAlias())# maps to #mappingStruct[mapping].getpath()#<br>
</cfif>
</cfloop>
</cfoutput>
</body>
</html>
--------------------------------------------------------------------------------- COMPONENT -----------------------------------------------
component output="false"
// Component to inject
{
public function init()
{