|
Is the config in you original post the
EXACT config file you have? If so the xml is badly formed, you are missing the parent
<objects> tag, without this reactor will not find the
definition for your “Users” object. You will still be able to
instatiate a Users record, because the object definition is not required for
this, but without the definition reactor does not know about the relationship,
and will not generate the getUserTypeRecord method It should look like this <reactor> <objects> </reactor> Cheers,
Chris From:
[EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Andrew Scott Ok my config file <reactor> <object
name="Users"> </reactor> And the
code <cfset
UserRecord = Request.Reactor.createRecord("Users").load(US_ID = 13)
/> 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 CF] Trying to do this in Reactor and not work... Andrew Scott
- RE: [Reactor for CF] Trying to do this in Reactor and... João Fernandes
- Re: [Reactor for CF] Trying to do this in Reactor and... Andrew Scott
- Re: [Reactor for CF] Trying to do this in Reactor and... Tom Chiverton
- Re: [Reactor for CF] Trying to do this in Reactor and... Andrew Scott
- RE: [Reactor for CF] Trying to do this in Reactor and... João Fernandes
- RE: [Reactor for CF] Trying to do this in Reactor and... Chris Blackwell
- Re: [Reactor for CF] Trying to do this in Reactor and... Andrew Scott
- Re: [Reactor for CF] Trying to do this in Reactor and... Andrew Scott
- RE: [Reactor for CF] Trying to do this in Reactor and... Marc Funaro
- Re: [Reactor for CF] Trying to do this in Reactor and... Tom Chiverton
- Re: [Reactor for CF] Trying to do this in Reactor and... Andrew Scott
