Sean, See what I mean that It was a bad day and I needed to rest? Look at my code !
<cfinvoke object="#myrecord#" method="setartigo_id"> <cfinvokeargument name="artigo_id" value="1"> </cfinvoke> I was using object instead of COMPONENT !!! Man, I need vacations ! Well, after looking at Jared reply, I'm not the only one who was not paying attention :p Anyway sorry for this! João Fernandes Sistemas de Informação Programador Informático Cofina media Avenida João Crisóstomo, Nº 72 . 1069-043 Lisboa PORTUGAL Tel (+351) 213 185 200 . Fax (+351) 213 540 370 [EMAIL PROTECTED] -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sean Corfield Sent: quinta-feira, 9 de Março de 2006 1:01 To: [email protected] Subject: Re: [Reactor For CF] Am I blind or drunk? On 3/8/06, João Fernandes <[EMAIL PROTECTED]> wrote: > <cfset myrecord = myscope.reactor.createRecord("artigo")> > artigo has a artigo_id so the setter should be setartigo_id and I > tried > > > <cfinvoke object="#myrecord#" method="setartigo_id"> > <cfinvokeargument name="artigo_id" value="1"> </cfinvoke> That can't be your real code - <cfinvoke COMPONENT="#myrecord#" method="setartigo_id"> - are you saying that the cfinvoke fails with a hardcoded method name like that? -- Sean A Corfield -- http://corfield.org/ Got frameworks? "If you're not annoying somebody, you're not really alive." -- Margaret Atwood -- 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/

