Changeset 1839

Show
Ignore:
Timestamp:
11/05/08 09:47:03 (5 years ago)
Author:
lmajano
Message:

More updates to Application Template

Location:
coldbox/trunk
Files:
8 added
10 removed
3 modified
1 moved

Legend:

Unmodified
Added
Removed
  • coldbox/trunk/ApplicationTemplate/config/coldbox.xml.cfm

    r1828 r1839  
    6161                <Setting name="EnableBugReports"                        value="true"/> 
    6262                <!--UDF Library To Load on every request for your views and handlers --> 
    63                 <Setting name="UDFLibraryFile"                          value="" /> 
     63                <Setting name="UDFLibraryFile"                          value="includes/helpers/ApplicationHelper.cfm" /> 
    6464                <!--Messagebox Style Override. A boolean of wether to override the styles using your own css.--> 
    6565                <Setting name="MessageboxStyleOverride"         value="" /> 
     
    198198                <!-- <Datasource alias="MyDSNAlias" name="real_dsn_name"   dbtype="mysql"  username="" password="" /> --> 
    199199        </Datasources> 
     200         
    200201        <!--ColdBox Object Caching Settings Overrides the Framework-wide settings  
    201202        <Cache> 
     
    223224         
    224225        <Interceptors> 
    225                 <!-- config file is relative to app root --> 
     226                <!-- USE ENVIRONMENT CONTROL --> 
     227                <Interceptor class="coldbox.system.interceptors.environment"> 
     228                        <Property name='configFile'>config/environments.xml.cfm</Property> 
     229                </Interceptor> 
     230                <!-- USE SES --> 
    226231                <Interceptor class="coldbox.system.interceptors.ses"> 
    227232                        <Property name="configFile">config/routes.cfm</Property> 
    228233                </Interceptor> 
     234                 
    229235                <!-- Developer's ColdBox Sidebar --> 
    230236                <Interceptor class="coldbox.system.interceptors.coldboxSideBar"> 
  • coldbox/trunk/ApplicationTemplate/handlers/general.cfc

    r1574 r1839  
    1111-----------------------------------------------------------------------> 
    1212<cfcomponent name="general" extends="coldbox.system.eventhandler" output="false"> 
     13         
     14        <!--- Event Caching Suffix: It will be appended to every event cached key. This can be a locale, dynamic, etc. ---> 
     15        <cfset this.EVENT_CACHE_SUFFIX = ""> 
    1316         
    1417        <!--- This init is mandatory, including the super.init(). --->  
  • coldbox/trunk/system/plugins/XMLParser.cfc

    r1828 r1839  
    417417                        //Check For Owner Email or Throw 
    418418                        if ( not StructKeyExists(ConfigStruct, "OwnerEmail") ) 
    419                                 throw("There was no 'OwnerEmail' setting defined. This is required by the framework.","","ColdBox.plugins.XMLParser.ConfigXMLParsingException"); 
     419                                ConfigStruct["OwnerEmail"] = ""; 
    420420                 
    421421                        //Check For EnableDumpvar or set to true