If you return data, it will be displayed on the screen as a WDDX packet--not user friendly (but create for calling CFC web service from CF5).
Pollster in DRK4 uses CFCs as the action for all of it's forms. It uses a technique where the CFC form handlers have a return type of void and do their processing. After processing it does cflocation back to a cfm to display results. Pollster is really well written--both CF and Flash sides--so if you haven't looked at it I'd encourage you to do so (if you have DRK4 of course). In any case, I would only suggest using this technique if you use it consistently. Either always submit forms to a CFC or never do. In the case of Pollster, Christian also used specific form handler cfc's which helped keep everything easy to follow. Best regards, Sam ---------------------------------------------- Blog: http://www.rewindlife.com Chart: http://www.blinex.com/products/charting ---------------------------------------------- > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Behalf Of Ian Skinner > Sent: Tuesday, September 23, 2003 2:40 PM > To: CF-Talk (E-mail) > Subject: [CFCDev] Using a CFC as the action of a form. > > > I am trying to figure out the logical flow of processing when > using a CFC as > the action of a form? Where does the application end up? What scope does > any data returned at the end of the called function with > <cfreturn ...> end > up in? Basically how does this work and how does one use this > functionality? > ---------------------------------------------------------- You are subscribed to cfcdev. To unsubscribe, send an email to [EMAIL PROTECTED] with the word 'unsubscribe cfcdev' in the message of the email. CFCDev is run by CFCZone (www.cfczone.org) and supported by Mindtool, Corporation (www.mindtool.com). An archive of the CFCDev list is available at www.mail-archive.com/[EMAIL PROTECTED]
