I'm lost here. Do I put the cfscript into the .cfc or .cfm file? And,
how do I reference the myobj in the cfm file?


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
> 
>
----------------------------------------------------------
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


Reply via email to