What's a component? What's an object?

Who's this Sean guy? WAIT, what are all you people doing inside my head???

Oh, that's not my head... it's my computer. I often confuse the two. ;)

It's just that this is the Week of the Silly Mistake like the Chinese have the Year of the Rat, etc. *sigh* We all do it... that's my excuse. hehe


Laterz,

J


------------------------------------------------

Jared C. Rypka-Hauer

Continuum Media Group LLC

http://www.web-relevant.com

Member, Team Macromedia - ColdFusion


"That which does not kill me makes me stranger." - Yonah Schmeidler


On Mar 9, 2006, at 6:06 AM, João Fernandes wrote:

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


-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Sean Corfield
Sent: quinta-feira, 9 de Março de 2006 1:01
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]





-- Reactor for ColdFusion Mailing List -- [email protected]



Reply via email to