Will,

There's nothing wrong with a returntype="void" output="false" method -
there are times when things are "fire and forget," and you don't need
a result.  An example is when a new controller is added in ModelGlue -
I just want to do framework.addController(newController), and don't
want to hear anything back.  If there's a failure, it'll throw an
error.

-Joe


On 6/26/05, Will Tomlinson <[EMAIL PROTECTED]> wrote:
> Dunno if this helps, but found it on Sean's site.
> 
> The bottom line is really that a CFC method should either output HTML / text 
> or it should return a value. In other words, either you have 
> returntype="void" output="true" or you have returntype="xxx" output="false" 
> (where xxx is some non-void type).
> 
> http://www.corfield.org/blog/index.cfm?do=blog.day&day=26&month=10&year=2004
> 
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:210567
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to