One thing to bear in mind--if you're using cfinvoke, unless you're
calling it against an object that's already been created, cfinovke
creates the object, calls the method, and then destroys the object, so
if you're going to call more than one method on an object you aren't
going to want to do that using cfinvoke. You're better off creating
the object using cfobject or CreateObject() and then calling the
methods against the instance of the object.
Matt
On Wed, 15 Dec 2004 13:25:58 -0600, Phillip Holmes
<[EMAIL PROTECTED]> wrote:
>
> >what do I do with the cfinvoke and cfinvokeargument?
>
> Trash those nasty tags. I don't use them. The code I posted replace those
> tags. Once you call your object, your methods therein will be available
> without calling the object again.
>
> Example:
>
> <cfscript>
>
> myobj = CreateObject('component','mycomponent');
> // after your opbject in instantiated, you can call any function contained
> in your object without calling the component again.
> myobj.mymethod1();
> myobj.mymethod2();
> myobj.mymethod3();
> myobj.mymethod4();
>
> </cfscript>
>
> Regards,
>
> Phil
>
>
> ---
> [This E-mail has been scanned for viruses.]
>
> ----------------------------------------------------------
> To post, send email to [EMAIL PROTECTED]
> To unsubscribe:
> http://www.dfwcfug.org/form_MemberUnsubscribe.cfm
> To subscribe:
> http://www.dfwcfug.org/form_MemberRegistration.cfm
>
>
--
Matt Woodward
[EMAIL PROTECTED]
http://www.mattwoodward.com
----------------------------------------------------------
To post, send email to [EMAIL PROTECTED]
To unsubscribe:
http://www.dfwcfug.org/form_MemberUnsubscribe.cfm
To subscribe:
http://www.dfwcfug.org/form_MemberRegistration.cfm