PageRenderTime 395ms CodeModel.GetById 184ms app.highlight 4ms RepoModel.GetById 202ms app.codeStats 0ms

/SampleApplication/ColdBox3/config/coldbox.xml.cfm

http://github.com/bobsilverberg/ValidateThisColdBoxPlugin
ColdFusion | 80 lines | 68 code | 12 blank | 0 comment | 2 complexity | 100390ce2bbbee048bf41929d549c258 MD5 | raw file
 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_3.0.0.xsd">
 4	<Settings>
 5		<!--The name of your application.-->
 6		<Setting name="AppName"						value="cb_skeleton"/>
 7		<!-- If you are using a coldbox app to power flex/remote apps, you NEED to set the AppMapping also. In Summary,
 8			 the AppMapping is either a CF mapping or the path from the webroot to this application root. If this setting
 9			 is not set, then coldbox will try to auto-calculate it for you. Please read the docs.
10		<Setting name="AppMapping"					value="/MyApp"/> -->
11		<Setting name="EventName"					value="e" />
12		
13		<!-- Development Settings -->
14		<Setting name="DebugMode" 					value="true"/>
15		<Setting name="DebugPassword" 				value=""/>
16		<Setting name="ReinitPassword" 				value=""/>
17		<Setting name="HandlersIndexAutoReload" 	value="false"/>
18		<Setting name="ConfigAutoReload" 			value="false"/>
19		
20		<!-- Implicit Events -->
21		<Setting name="DefaultEvent" 				value="General.index"/>
22		<Setting name="RequestStartHandler" 		value="Main.onRequestStart"/>
23		<Setting name="RequestEndHandler" 			value=""/>
24		<Setting name="ApplicationStartHandler" 	value="Main.onAppInit"/>
25		<Setting name="SessionStartHandler" 		value=""/>
26		<Setting name="SessionEndHandler" 			value=""/>
27		
28		<!-- Extension Points -->
29		<Setting name="UDFLibraryFile" 				value="includes/helpers/ApplicationHelper.cfm" />
30		<Setting name="PluginsExternalLocation"   	value="" />
31		<Setting name="ViewsExternalLocation" 		value=""/>
32		<Setting name="LayoutsExternalLocation"   	value="" />
33		<Setting name="HandlersExternalLocation"   	value="" />
34		<Setting name="RequestContextDecorator" 	value=""/>
35		
36		<!-- Error/Exception Handling -->
37		<Setting name="ExceptionHandler" 			value=""/>
38		<Setting name="onInvalidEvent" 				value=""/>
39		<Setting name="CustomErrorTemplate"			value="" />
40		
41		<!-- Application Aspects -->
42		<Setting name="HandlerCaching" 				value="false"/>
43		<Setting name="EventCaching" 				value="false"/>
44		<Setting name="ProxyReturnCollection" 		value="false"/>
45		<Setting name="FlashURLPersistScope" 		value="session"/>		
46		
47	</Settings>
48
49	<YourSettings>
50		<Setting name="assetPathJS" value="assets/js/"/>
51
52		<!-- 
53		define ValidateThis settings:
54		http://www.validatethis.org/docs/wiki/ValidateThisConfig_Struct.cfm 
55		
56		note that ValidateThis will use ColdBox's ModelsPath if you don't specify the definitionPath
57		-->
58		<Setting name="ValidateThisConfig" value="{JSRoot:$(assetPathJS)}"/>
59	</YourSettings>
60	
61	<!--Declare Layouts for your application here-->
62	<Layouts>
63		<!--Declare the default layout, MANDATORY-->
64		<DefaultLayout>Layout.Main.cfm</DefaultLayout>
65	</Layouts>
66
67	<Interceptors>
68		<!-- USE ENVIRONMENT CONTROL -->
69		<Interceptor class="coldbox.system.interceptors.environmentControl">
70			<Property name='configFile'>config/environments.xml.cfm</Property>
71		</Interceptor>
72		<!-- USE AUTOWIRING -->
73		<Interceptor class="coldbox.system.interceptors.autowire" />
74		<!-- USE SES -->
75		<Interceptor class="coldbox.system.interceptors.ses">
76			<Property name="configFile">config/routes.cfm</Property>
77		</Interceptor>
78	</Interceptors>
79	
80</Config>