|
Revision 430, 490 bytes
(checked in by dhughes, 7 months ago)
|
|
|
| Line | |
|---|
| 1 | |
|---|
| 2 | <cfapplication name="reactorTest" /> |
|---|
| 3 | |
|---|
| 4 | <cfif NOT StructKeyExists(application, "reactorFactory") OR StructKeyExists(url, "reload")> |
|---|
| 5 | <cfset application.reactorFactory = CreateObject("Component", "reactor.reactorFactory") /> |
|---|
| 6 | <cfset application.reactorFactory.init("/config/reactor.xml") /> |
|---|
| 7 | <h1>reload</h1> |
|---|
| 8 | </cfif> |
|---|
| 9 | |
|---|
| 10 | <cfset CustomerRecord = application.reactorFactory.createRecord("foo5").load(custId=37) /> |
|---|
| 11 | <cfset CustomerRecord.validate() /> |
|---|
| 12 | |
|---|
| 13 | <cfdump var="#CustomerRecord#" /> |
|---|