House of Fusion
Search over 2,500 ColdFusion resources here
  
Home of the ColdFusion Community

Mailing Lists
Home /  Groups /  ColdFusion Talk (CF-Talk)

Subject: How to invoke a method from inside another method in a cfc

  << Previous Post |  RSS |  Sort Oldest First |  Sort Latest First |  Subscribe to this Group Next >> 
Hello everybody,
Mike Oldfield
03/11/07 05:00 P
All you need to do is simply call the method:
Richard Kroll
03/11/07 05:45 P
Top  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Mike Oldfield
03/11/2007 05:00 PM

Hello everybody, somebody knows how can I invoke a method from inside another method in a cfc? Please help me! I have something like this: <cffunction name="method1"...> ... <cfif...>   do method 2 </cfif> </cffunction> <cffunction name="method2"...> ... </cffunction> Thanks for your help

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Ken Wexel
03/11/2007 06:55 PM

can't you just cfinvoke the method from inside the first method? -Ken ---------- Forwarded message Hello everybody, somebody knows how can I invoke a method from inside another method in a cfc? Please help me! I have something like this: <cffunction name="method1"...> ... <cfif...>   do method 2 </cfif> </cffunction> <cffunction name="method2"...> ... </cffunction> Thanks for your help

Top  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Richard Kroll
03/11/2007 05:45 PM

All you need to do is simply call the method: <cffunction name="method1"...>   ...   <cfif...>     <cfset method2() />   </cfif> </cffunction> <cffunction name="method2"...> ... </cffunction> HTH, Rich Kroll


<< Previous Thread Today's Threads Next Thread >>

Search cf-talk

May 24, 2012

<<   <   Today   >   >>
Su Mo Tu We Th Fr Sa
     1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31     

Designer, Developer and mobile workflow conference