forked from mhenke/validateThisCFWheels
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathreadme.txt
51 lines (37 loc) · 1.35 KB
/
readme.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
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.