Skip to content

mhenke/validateThisCFWheels

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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. 

About

a plugin and demo for ValidateThis with CFWheels

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published