Changeset 136

Show
Ignore:
Timestamp:
08/25/06 23:07:04 (7 years ago)
Author:
luis
Message:

Work in progress.

Location:
coldbox/trunk/samples
Files:
14 modified

Legend:

Unmodified
Added
Removed
  • coldbox/trunk/samples/applications/Addressbook/config/Application.cfm

    r8 r136  
    44Date     :      January 22, 2006 
    55Description :                    
    6         This is a protection Application cfm for the config file. 
     6        This is a protection Application cfm for the config file. You do not 
     7        need to modify this file 
    78-----------------------------------------------------------------------> 
    8 <cfif listlast(cgi.script_name, "/") is "config.xml.cfm"> 
    9         <cfabort> 
    10 </cfif> 
     9<cfabort> 
  • coldbox/trunk/samples/applications/ColdBoxReader/config/Application.cfm

    r8 r136  
    44Date     :      January 22, 2006 
    55Description :                    
    6         This is a protection Application cfm for the config file. 
     6        This is a protection Application cfm for the config file. You do not 
     7        need to modify this file 
    78-----------------------------------------------------------------------> 
    8 <cfif listlast(cgi.script_name, "/") is "config.xml.cfm"> 
    9         <cfabort> 
    10 </cfif> 
     9<cfabort> 
  • coldbox/trunk/samples/applications/ColdBoxReader_v2/config/Application.cfm

    r8 r136  
    44Date     :      January 22, 2006 
    55Description :                    
    6         This is a protection Application cfm for the config file. 
     6        This is a protection Application cfm for the config file. You do not 
     7        need to modify this file 
    78-----------------------------------------------------------------------> 
    8 <cfif listlast(cgi.script_name, "/") is "config.xml.cfm"> 
    9         <cfabort> 
    10 </cfif> 
     9<cfabort> 
  • coldbox/trunk/samples/applications/NewsWebservice/handlers/ehGeneral.cfc

    r133 r136  
    2424                <cfscript> 
    2525                var wsObj = getPlugin("webservices").getWsobj("newsfeed"); 
     26                rc.xehGetNews = "ehGeneral.doGetNews"; 
     27                rc.xehGetNewsClient = "ehGeneral.doGetNewsClientVersion"; 
     28                rc.xehDeleteNews = "ehGeneral.doClearClientStorageNews"; 
    2629                try{ 
    2730                        //call model 
    28                         rc.newsfeed = wsObj.giveMe_EN(news_number=10); 
     31                        rc.newsfeed = wsObj.giveMe_EN(news_number=20); 
    2932                } 
    3033                catch(Any e){ 
     
    5053                //Model Call 
    5154                var wsObj = getPlugin("webservices").getWsobj("newsfeed"); 
    52                 var newsfeed = wsObj.giveMe_EN(news_number=20); 
     55                var newsfeed = wsObj.giveMe_EN(news_number=40); 
    5356                //Using clientStorage plugin to save variables permanently 
    5457                getPlugin("clientStorage").setVar("newsfeed", newsfeed); 
  • coldbox/trunk/samples/applications/blogcfcv5.0.005/config/Application.cfm

    r8 r136  
    44Date     :      January 22, 2006 
    55Description :                    
    6         This is a protection Application cfm for the config file. 
     6        This is a protection Application cfm for the config file. You do not 
     7        need to modify this file 
    78-----------------------------------------------------------------------> 
    8 <cfif listlast(cgi.script_name, "/") is "config.xml.cfm"> 
    9         <cfabort> 
    10 </cfif> 
     9<cfabort> 
  • coldbox/trunk/samples/applications/blogcfcv5.1/config/Application.cfm

    r8 r136  
    44Date     :      January 22, 2006 
    55Description :                    
    6         This is a protection Application cfm for the config file. 
     6        This is a protection Application cfm for the config file. You do not 
     7        need to modify this file 
    78-----------------------------------------------------------------------> 
    8 <cfif listlast(cgi.script_name, "/") is "config.xml.cfm"> 
    9         <cfabort> 
    10 </cfif> 
     9<cfabort> 
  • coldbox/trunk/samples/applications/forumsv1.5/config/Application.cfm

    r8 r136  
    44Date     :      January 22, 2006 
    55Description :                    
    6         This is a protection Application cfm for the config file. 
     6        This is a protection Application cfm for the config file. You do not 
     7        need to modify this file 
    78-----------------------------------------------------------------------> 
    8 <cfif listlast(cgi.script_name, "/") is "config.xml.cfm"> 
    9         <cfabort> 
    10 </cfif> 
     9<cfabort> 
  • coldbox/trunk/samples/applications/forumsv1.6/config/Application.cfm

    r8 r136  
    44Date     :      January 22, 2006 
    55Description :                    
    6         This is a protection Application cfm for the config file. 
     6        This is a protection Application cfm for the config file. You do not 
     7        need to modify this file 
    78-----------------------------------------------------------------------> 
    8 <cfif listlast(cgi.script_name, "/") is "config.xml.cfm"> 
    9         <cfabort> 
    10 </cfif> 
     9<cfabort> 
  • coldbox/trunk/samples/applications/helloworld/config/Application.cfm

    r8 r136  
    44Date     :      January 22, 2006 
    55Description :                    
    6         This is a protection Application cfm for the config file. 
     6        This is a protection Application cfm for the config file. You do not 
     7        need to modify this file 
    78-----------------------------------------------------------------------> 
    8 <cfif listlast(cgi.script_name, "/") is "config.xml.cfm"> 
    9         <cfabort> 
    10 </cfif> 
     9<cfabort> 
  • coldbox/trunk/samples/applications/javaloader/config/Application.cfm

    r8 r136  
    44Date     :      January 22, 2006 
    55Description :                    
    6         This is a protection Application cfm for the config file. 
     6        This is a protection Application cfm for the config file. You do not 
     7        need to modify this file 
    78-----------------------------------------------------------------------> 
    8 <cfif listlast(cgi.script_name, "/") is "config.xml.cfm"> 
    9         <cfabort> 
    10 </cfif> 
     9<cfabort> 
  • coldbox/trunk/samples/applications/javaloader/config/config.xml.cfm

    r8 r136  
    11<?xml version="1.0" encoding="ISO-8859-1"?> 
    22<Config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
    3  xsi:noNamespaceSchemaLocation="http://www.luismajano.com/projects/coldbox/schema/config.xsd"> 
     3 xsi:noNamespaceSchemaLocation="http://www.luismajano.com/projects/coldbox/schema/config_1.1.0.xsd"> 
    44        <Settings> 
    5                 <Setting name="AppName"                         value="Java Loader Example"/> 
    6                 <Setting name="AppCFMXMapping"  value="coldboxSamples/applications/javaloader" /> 
    7                 <Setting name="DebugMode"                       value="true" /> 
    8                 <Setting name="DebugPassword"           value="Coldbox"/> 
    9                 <Setting name="DumpVarActive"           value="true" /> 
    10                 <Setting name="ColdfusionLogging"       value="true" /> 
    11                 <Setting name="DefaultEvent"            value="ehGeneral.dspHello"/> 
    12                 <Setting name="RequestStartHandler" value=""/> 
    13                 <Setting name="RequestEndHandler"       value=""/> 
    14                 <Setting name="ApplicationStartHandler"  value="ehGeneral.onAppStart" /> 
    15                 <Setting name="OwnerEmail"                      value="cfcoldbox@gmail.com" /> 
    16                 <Setting name="EnableBugReports"        value="true"/> 
    17                 <Setting name="UDFLibraryFile"          value="" /> 
    18                 <Setting name="CustomErrorTemplate" value=""/> 
    19                 <Setting name="ExceptionHandler" value=""/> 
    20                 <Setting name="MessageboxStyleClass" value=""/> 
    21                 <Setting name="HandlersIndexAutoReload" value="false"/> 
    22                 <Setting name="ConfigAutoReload" value="false"/>                 
     5                <Setting name="AppName"                                         value="Java Loader Example"/> 
     6                <Setting name="AppMapping"                                      value="coldbox/samples/applications/javaloader" /> 
     7                <Setting name="DebugMode"                                       value="true" /> 
     8                <Setting name="DebugPassword"                           value="Coldbox"/> 
     9                <Setting name="EnableDumpVar"                           value="true" /> 
     10                <Setting name="EnableColdfusionLogging"         value="false" /> 
     11                <Setting name="EnableColdboxLogging"            value="false"/> 
     12                <Setting name="ColdboxLogsLocation"                     value="" /> 
     13                <Setting name="DefaultEvent"                            value="ehGeneral.dspHello"/> 
     14                <Setting name="RequestStartHandler"             value=""/> 
     15                <Setting name="RequestEndHandler"                       value=""/> 
     16                <Setting name="ApplicationStartHandler"         value="ehGeneral.onAppStart" /> 
     17                <Setting name="OwnerEmail"                                      value="myemail@email.com" /> 
     18                <Setting name="EnableBugReports"                        value="true"/> 
     19                <Setting name="UDFLibraryFile"                          value="" /> 
     20                <Setting name="CustomErrorTemplate"             value=""/> 
     21                <Setting name="ExceptionHandler"                        value=""/> 
     22                <Setting name="MessageboxStyleClass"            value=""/> 
     23                <Setting name="HandlersIndexAutoReload"         value="false"/> 
     24                <Setting name="ConfigAutoReload"                        value="false"/>          
     25                <Setting name="MyPluginsLocation"                       value=""/> 
    2326        </Settings> 
    2427 
  • coldbox/trunk/samples/applications/javaloader/handlers/ehGeneral.cfc

    r8 r136  
    33Date     :      September 25, 2005 
    44Description :                    
    5         General handler for my hello application. Please remember to extend  
    6         your event handler to the system eventhanlder using your colfusion 
    7         mapping. 
    8  
    9         example: 
    10                 Mapping: coldboxSamples 
    115                 
    126Modification History: 
     
    148        -Created the template. 
    159-----------------------------------------------------------------------> 
    16 <cfcomponent name="ehGeneral" extends="coldboxSamples.system.eventhandler"> 
     10<cfcomponent name="ehGeneral" extends="coldbox.system.eventhandler"> 
    1711 
    1812        <!--- ************************************************************* ---> 
    1913        <cffunction name="init" access="public" returntype="Any"> 
    20                 <cfargument name="controller" required="yes" hint="The reference to the framework controller">   
    21                 <cfset super.init(arguments.controller)> 
     14                <cfset super.init()> 
    2215                <cfreturn this> 
    2316        </cffunction> 
  • coldbox/trunk/samples/config/Application.cfm

    r8 r136  
    44Date     :      January 22, 2006 
    55Description :                    
    6         This is a protection Application cfm for the config file. 
     6        This is a protection Application cfm for the config file. You do not 
     7        need to modify this file 
    78-----------------------------------------------------------------------> 
    8 <cfif listlast(cgi.script_name, "/") is "config.xml.cfm"> 
    9         <cfabort> 
    10 </cfif> 
     9<cfabort> 
  • coldbox/trunk/samples/config/config.xml.cfm

    r117 r136  
    11<?xml version="1.0" encoding="ISO-8859-1"?> 
    22<Config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
    3         xsi:noNamespaceSchemaLocation="http://www.luismajano.com/projects/coldbox/schema/config.xsd"> 
     3        xsi:noNamespaceSchemaLocation="http://www.luismajano.com/projects/coldbox/schema/config_1.1.0.xsd"> 
    44        <Settings> 
    55                <Setting name="AppName" value="Coldbox Samples Browser"/>