forked from framework-one/fw1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Special case hello8 subsystem into parent examples app.
- Loading branch information
1 parent
a72f458
commit b0a17d2
Showing
1 changed file
with
14 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,20 @@ | ||
<cfcomponent extends="org.corfield.framework"><cfscript> | ||
component extends="org.corfield.framework" { | ||
// Either put the org folder in your webroot or create a mapping for it! | ||
|
||
this.name = 'fw1-examples'; | ||
this.sessionManagement = true; | ||
// FW/1 - configuration: | ||
variables.framework = structNew(); | ||
variables.framework.usingSubsystems = true; | ||
variables.framework.SESOmitIndex = true; | ||
variables.framework = { | ||
usingSubsystems = true, | ||
SESOmitIndex = true | ||
}; | ||
|
||
</cfscript></cfcomponent> | ||
// pull in bean factory for hello8: | ||
public void function setupSubsystem( string subsystem ) { | ||
if ( subsystem == "hello8" ) { | ||
var bf = new hello8.model.ioc( "./hello8" ); | ||
setSubsystemBeanFactory( subsystem, bf ); | ||
} | ||
} | ||
|
||
} |