What does your dump looks like?
João Fernandes
From: [EMAIL PROTECTED] [mailto: [EMAIL PROTECTED]] On Behalf Of Andrew Scott
Sent: segunda-feira, 7 de Agosto de 2006 11:41
To: [email protected]
Subject: [Reactor for CF] Trying to do this in Reactor and not working?
Ok my config file
<reactor>
<config>
<project value="GroundOps" />
<dsn value="Database" />
<type value="mssql" />
<mapping value="/Model/Data" />
<mode value="development" />
</config><object name="Users">
<hasOne name="UserType">
<relate from="US_Type" to="UT_ID" />
</hasOne>
</object></reactor>
And the code
<cfset UserRecord = Request.Reactor.createRecord("Users").load(US_ID = 13) />
<cfdump var="#UserRecord.getUserType()#" expand="false">When reading the documentation this is supposed to work, but I am stumped beyond belief as to what I am doing wrong.
Anyone?
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
Reactor for ColdFusion Mailing List
[email protected]
Archives at: http://www.mail-archive.com/reactor%40doughughes.net/
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
Reactor for ColdFusion Mailing List
[email protected]
Archives at: http://www.mail-archive.com/reactor%40doughughes.net/
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
Reactor for ColdFusion Mailing List
[email protected]
Archives at: http://www.mail-archive.com/reactor%40doughughes.net/
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
