This should work, unless I have misread the Q :-)

 <cffunction name="method1"...>
 ...
 <cfif...>
  method2()
 </cfif>
 </cffunction>
 <cffunction name="method2"...>
 ...
 </cffunction>

You would obviously need to place it in a 
Var/return all the necessary bits b bobs.






"This e-mail is from Reed Exhibitions (Gateway House, 28 The Quadrant,
Richmond, Surrey, TW9 1DN, United Kingdom), a division of Reed Business,
Registered in England, Number 678540.  It contains information which is
confidential and may also be privileged.  It is for the exclusive use of the
intended recipient(s).  If you are not the intended recipient(s) please note
that any form of distribution, copying or use of this communication or the
information in it is strictly prohibited and may be unlawful.  If you have
received this communication in error please return it to the sender or call
our switchboard on +44 (0) 20 89107910.  The opinions expressed within this
communication are not necessarily those expressed by Reed Exhibitions." 
Visit our website at http://www.reedexpo.com

-----Original Message-----
From: Ken Wexel
To: CF-Talk
Sent: Sun Mar 11 22:53:46 2007
Subject: Fwd: Subject: How to invoke a method from inside another method in
a cfc

can't you just cfinvoke the method from inside the first method?

-Ken

---------- Forwarded message ----------
From: Mike Oldfield <[EMAIL PROTECTED]>
Date: Mar 11, 2007 4:58 PM
Subject: Subject: How to invoke a method from inside another method in a cfc
To: CF-Talk <[email protected]>


 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






~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Macromedia ColdFusion MX7
Upgrade to MX7 & experience time-saving features, more productivity.
http://www.adobe.com/products/coldfusion

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:272331
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to