Permalink
Browse files

updated for variables.framework changes

  • Loading branch information...
atuttle committed Nov 8, 2012
1 parent 7392726 commit 10a16bb88d003f2203ce85adca0cc802d247d8d6
Showing with 4 additions and 7 deletions.
  1. +4 −7 examples/ParentApplication/api/Application.cfc
@@ -2,17 +2,14 @@ component extends="taffy.core.api" {
this.name = "taffy_ParentAppExample";//same name as api folder application.cfc
+ variables.framework = {};
+ variables.framework.beanFactory = "";
+
//do your onApplicationStart stuff here
function applicationStartEvent(){
include "../mixin/appInit.cfm";
- }
-
- //called when taffy is initializing or when a reload is requested
- void function configureTaffy(){
-
- //application.beanFactory is defined in the mixin
- setBeanFactory(application.beanFactory);
+ variables.framework.beanFactory = application.beanFactory;
}
}

0 comments on commit 10a16bb

Please sign in to comment.