Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

27 lines (21 sloc) 0.843 kb
<cfcomponent extends="taffy.core.api">
<cfscript>
this.name = hash(getCurrentTemplatePath());
this.applicationTimeout = createTimeSpan(0,0,0,1);
this.mappings = structNew();
//this.mappings["/coldspring"] = ExpandPath("{your-path-here}");
variables.framework = {};
variables.framework.debugKey = "debug";
variables.framework.reloadKey = "reload";
variables.framework.reloadPassword = "true";
variables.framework.representationClass = "taffy.core.genericRepresentation";
// do your onApplicationStart stuff here
function applicationStartEvent(){
initColdSpring();
}
function initColdSpring() {
application.oBeanFactory = CreateObject("component","coldspring.beans.DefaultXmlBeanFactory").init();
application.oBeanFactory.loadBeansFromXMLFile("/config/coldspring.xml");
}
</cfscript>
</cfcomponent>
Jump to Line
Something went wrong with that request. Please try again.