|
Mailing Lists
|
Home /
Groups /
ColdFusion Talk (CF-Talk)
Subject: How to invoke a method from inside another method in a cfc
Hello everybody,Mike Oldfield 03/11/07 05:00 P can't you just cfinvoke the method from inside the first method?Ken Wexel 03/11/07 06:55 P All you need to do is simply call the method:Richard Kroll 03/11/07 05:45 P 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 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 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
|
May 24, 2012
|
Latest Fusion Authority Articles
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||