<cfcomponent extends="taffy.core.api" output="false">
<cfset this.name = hash(getCurrentTemplatePath())>
<cfif isDefined("application.frameworkVars")>
<cfset variables.framework = application.frameworkVars>
<cfelse>
<cfset variables.framework = loadFrameworkVars()>
</cfif>
<cffunction name="loadFrameworkVars" access="private" returnType="struct" output="false">
<cfinclude template="thisServer.cfm">
<cfset application.framework = {
some vars here, including the exceptionLogAdapterConfig struct which uses server variables
}>
<cfreturn application.framework>
</cffunction>
</cfcomponent>
Variables.framework is copied to an application variable called application._taffy in the framework's onApplicationStart method.
As long as the value you need is in variables.framework before you call super.onApplicationStart then you're doing it right.
--
You received this message because you are subscribed to the Google Groups "Taffy Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to taffy-users...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.