| 1 | <?xml version="1.0" encoding="UTF-8"?> |
|---|
| 2 | <Config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
|---|
| 3 | xsi:noNamespaceSchemaLocation="http://www.coldboxframework.com/schema/config_2.6.0.xsd"> |
|---|
| 4 | <Settings> |
|---|
| 5 | <!-- Application Setup--> |
|---|
| 6 | <Setting name="AppName" value="LookupManager"/> |
|---|
| 7 | <!-- <Setting name="AppMapping" value=""/> --> |
|---|
| 8 | <Setting name="OwnerEmail" value="" /> |
|---|
| 9 | <Setting name="EventName" value="event" /> |
|---|
| 10 | |
|---|
| 11 | <!-- Security & Dev Modes --> |
|---|
| 12 | <Setting name="DebugMode" value="false" /> |
|---|
| 13 | <Setting name="DebugPassword" value=""/> |
|---|
| 14 | <Setting name="ReinitPassword" value=""/> |
|---|
| 15 | <Setting name="EnableDumpVar" value="false" /> |
|---|
| 16 | <Setting name="HandlersIndexAutoReload" value="true" /> |
|---|
| 17 | <Setting name="ConfigAutoReload" value="false" /> |
|---|
| 18 | |
|---|
| 19 | <!--Default event name variable to use in URL/FORM etc. --> |
|---|
| 20 | <Setting name="EnableColdfusionLogging" value="false" /> |
|---|
| 21 | <Setting name="EnableColdboxLogging" value="false" /> |
|---|
| 22 | <Setting name="ColdboxLogsLocation" value="" /> |
|---|
| 23 | <Setting name="DefaultLogLevel" value="4" /> |
|---|
| 24 | |
|---|
| 25 | <!-- Implicit Events --> |
|---|
| 26 | <Setting name="DefaultEvent" value="lookups.display"/> |
|---|
| 27 | <Setting name="RequestStartHandler" value=""/> |
|---|
| 28 | <Setting name="RequestEndHandler" value=""/> |
|---|
| 29 | <Setting name="ApplicationStartHandler" value=""/> |
|---|
| 30 | <Setting name="SessionStartHandler" value=""/> |
|---|
| 31 | <Setting name="SessionEndHandler" value=""/> |
|---|
| 32 | <Setting name="ExceptionHandler" value="" /> |
|---|
| 33 | <Setting name="onInvalidEvent" value="" /> |
|---|
| 34 | |
|---|
| 35 | <!-- Application Aspects --> |
|---|
| 36 | <Setting name="EnableBugReports" value="false"/> |
|---|
| 37 | <Setting name="MessageboxStyleOverride" value="false" /> |
|---|
| 38 | <Setting name="ProxyReturnCollection" value="false"/> |
|---|
| 39 | <Setting name="FlashURLPersistScope" value="session"/> |
|---|
| 40 | |
|---|
| 41 | <!-- Extension Points --> |
|---|
| 42 | <Setting name="CustomErrorTemplate" value="" /> |
|---|
| 43 | <Setting name="UDFLibraryFile" value="" /> |
|---|
| 44 | <Setting name="MyPluginsLocation" value="" /> |
|---|
| 45 | <Setting name="HandlersExternalLocation" value="" /> |
|---|
| 46 | <Setting name="ViewsExternalLocation" value="" /> |
|---|
| 47 | <Setting name="RequestContextDecorator" value=""/> |
|---|
| 48 | |
|---|
| 49 | <!-- Caching Directives --> |
|---|
| 50 | <Setting name="HandlerCaching" value="false"/> |
|---|
| 51 | <Setting name="EventCaching" value="false" /> |
|---|
| 52 | |
|---|
| 53 | <!-- Model Integration --> |
|---|
| 54 | <Setting name="ModelsExternalLocation" value="" /> |
|---|
| 55 | <Setting name="ModelsObjectCaching" value="false" /> |
|---|
| 56 | <Setting name="ModelsStopRecursion" value="transfer.com.TransferDecorator" /> |
|---|
| 57 | <!-- Uncomment More Model Integration Settings: |
|---|
| 58 | <Setting name="ModelsSetterInjection" value="false" /> |
|---|
| 59 | <Setting name="ModelsDICompleteUDF" value="onDIComplete" /> |
|---|
| 60 | <Setting name="ModelsDebugMode" value="true" /> |
|---|
| 61 | --> |
|---|
| 62 | |
|---|
| 63 | <!-- IOC Integration --> |
|---|
| 64 | <Setting name="IOCFramework" value="" /> |
|---|
| 65 | <Setting name="IOCFrameworkReload" value="false" /> |
|---|
| 66 | <Setting name="IOCDefinitionFile" value="" /> |
|---|
| 67 | <Setting name="IOCObjectCaching" value="false" /> |
|---|
| 68 | </Settings> |
|---|
| 69 | |
|---|
| 70 | <YourSettings> |
|---|
| 71 | <!-- Lookups Settings --> |
|---|
| 72 | <Setting name="lookups_tables" value="{'Roles':'security.Role', |
|---|
| 73 | 'Users':'security.User', |
|---|
| 74 | 'Permissions':'security.Permission'}" /> |
|---|
| 75 | <Setting name="lookups_imgPath" value="includes/lookups/images" /> |
|---|
| 76 | <Setting name="lookups_cssPath" value="includes/lookups/styles" /> |
|---|
| 77 | <Setting name="lookups_jsPath" value="includes/lookups/js" /> |
|---|
| 78 | <Setting name="lookups_dsn" value="lookups" /> |
|---|
| 79 | <!-- Leave empty if handlers and views not in a package --> |
|---|
| 80 | <Setting name="lookups_packagePath" value="" /> |
|---|
| 81 | </YourSettings> |
|---|
| 82 | |
|---|
| 83 | <Layouts> |
|---|
| 84 | <DefaultLayout>Layout.Lookups.cfm</DefaultLayout> |
|---|
| 85 | <!-- Lookups Layout --> |
|---|
| 86 | <Layout name="Lookups" file="Layout.Lookups.cfm"> |
|---|
| 87 | <Folder>lookups</Folder> |
|---|
| 88 | </Layout> |
|---|
| 89 | </Layouts> |
|---|
| 90 | |
|---|
| 91 | <Datasources> |
|---|
| 92 | <Datasource alias="lookups" name="lookups" dbtype="mysql" username="" password="" /> |
|---|
| 93 | </Datasources> |
|---|
| 94 | |
|---|
| 95 | <Interceptors> |
|---|
| 96 | <!-- USE AUTOWIRING --> |
|---|
| 97 | <Interceptor class="coldbox.system.interceptors.autowire"> |
|---|
| 98 | <Property name='enableSetterInjection'>true</Property> |
|---|
| 99 | </Interceptor> |
|---|
| 100 | <!-- USE SES --> |
|---|
| 101 | <Interceptor class="coldbox.system.interceptors.ses"> |
|---|
| 102 | <Property name="configFile">config/routes.cfm</Property> |
|---|
| 103 | </Interceptor> |
|---|
| 104 | <!-- Transfer Loader --> |
|---|
| 105 | <Interceptor class="coldbox.system.extras.transfer.TransferLoader"> |
|---|
| 106 | <Property name="ConfigPath">/${AppMapping}/config/transfer.xml.cfm</Property> |
|---|
| 107 | <Property name="definitionPath">/${AppMapping}/config/definitions</Property> |
|---|
| 108 | <Property name="datasourceAlias">${Datasources.lookups.name}</Property> |
|---|
| 109 | <Property name="LoadBeanInjector">true</Property> |
|---|
| 110 | <Property name="BeanInjectorProperties">{'useSetterInjection':'false','stopRecursion':'${ModelsStopRecursion}'}</Property> |
|---|
| 111 | </Interceptor> |
|---|
| 112 | |
|---|
| 113 | </Interceptors> |
|---|
| 114 | |
|---|
| 115 | </Config> |
|---|
| 116 | |
|---|