/examples/ParentApplication/api/Application.cfc

http://github.com/atuttle/Taffy · ColdFusion CFScript · 16 lines · 10 code · 6 blank · 0 comment · 0 complexity · 8aeac8b32c1d5f53c1dead1adca8b579 MD5 · raw file

  1. component extends="taffy.core.api" {
  2. this.name = "taffy_ParentAppExample";//same name as api folder application.cfc
  3. variables.framework = {};
  4. variables.framework.beanFactory = "";
  5. function onApplicationStart(){
  6. include "../mixin/appInit.cfm";
  7. variables.framework.beanFactory = application.beanFactory;
  8. return super.onApplicationStart();
  9. }
  10. }