Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

51 lines (37 sloc) 1.379 kB
CFWheels with ValidateThis
http://cfwheels.riaforge.org/
http://validatethis.riaforge.org/
requires:
# CFWheels
# ValidateThis
Download ValidateThis
Unzip validateThis's zip and place the validateThis folder in webroot of with the cfwheels application.
Exampe Of Directory Layout:
webroot
==index.cfm
==IsapiRewrite4.ini
==Application.cfc
====wheels
====views
====models
====events
====controllers
====validateThis
In events/onapplicationstart.cfm place this code:
<cfscript>
ValidateThisConfig = {JSRoot="/javascripts/",definitionPath="/models/"};
application.ValidateThis = createObject("component","ValidateThis.ValidateThis").init(ValidateThisConfig);
</cfscript>
Place the validateThis-XX.XX.zip plugin in the plugins folder of cfwheels.
Reload your cfwheels application.
Example: http://localhost/index.cfm?reload=true
You should be good to go now.
ADDITIONAL FOR DEMO
Follow the instructions in ValidateThis to setup the tables and datasource.
/ValidateThis/docs/DemoSetup.txt
http://github.com/bobsilverberg/ValidateThis/blob/master/ValidateThis/docs/DemoSetup.txt
Unzip the Demo-XX-XX.zip file into CFWheel's webroot, it should overlap folders like Models, View, etc.
Reload your cfwheels application.
Example: http://localhost/index.cfm?reload=true
ValidateThis/CFWheels Demo: http://localhost/index.cfm/validateThis
You should be good to go now.
Jump to Line
Something went wrong with that request. Please try again.