Code Depot

Important Update: All the contributions are now dynamic and can be found at the ColdBox site under ForgeBox: www.coldbox.org/index.cfm/forgebox. Our new online code repository.

Third Party Plugins

The plugins offered below are contributed to the ColdBox project and are therefore maintained by those authors and not the ColdBox effort. Please download at your own risk, they are offered "As Is".

Captcha

CFImage CAPTCHA Plugin.

toXML

Set of utility functions to generate XML.

Spry Plugin

A great plugin for Adobe Spry and the ColdBox Framework.

JS Calendar Plugin

A great JS Calendar plugin for the ColdBox Framework.

Webcharts3D Plugin

A great plugin for WebCharts3D and the ColdBox Framework. WebCharts3D is included in ColdFusion.

CSS Graphing Plugin

A great CSS based graphing plugin.


Request Method Plugin

A plugin that allows for POST's only on certain executions.


I have just written what I feel to be a handy plugin. Right now, it only has one function, and that's the make sure the current request method is POST. It can be conveniently used inside a preHandler() method of an event handler.

    <cffunction name="preHandler" output="false" returntype="void" access="public">
        <cfargument name="Event" type="coldbox.system.beans.requestContext">
        <cfif "confirm,create" CONTAINS event.getCurrentAction()>
            <cfset controller.getPlugin('RequestMethod',true).requirePost() />       
        </cfif>
    </cffunction>

ScriptInclude Plugin

The ScriptInclude plug-in was built for the ColdBox Framework to simplify including external stylesheets and JavaScript files. Additionally, ScriptInclude simplifies injecting internal JavaScript into your views and layouts.

ValidateThis Plugin

Bob has done a great job by providing a validation framework that now works seamlessly with ColdBox. If you need great and fast validations for all your form requirements, try ValidateThis!.

Third Party Interceptors

The interceptors offered below are contributed to the ColdBox project and are therefore maintained by those authors and not the ColdBox effort. Please download at your own risk, they are offered "As Is".

Form Inspector Interceptor

When you create form fields with names like:

<input type="text" id="firstName" name="user.firstName" />
<input type="text" id="lastName" name="user.lastName" />
<input type="text" id="email" name="user.email" />

The interceptor will create a 'user' structure in the requestContext. So you can do

getPlugin("beanFactory").populateFromStruct(User, event.getValue('user'));

The advantage is that you can now use your form to group related data together into structures.