> 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? > > The below example works in that the correct function of > the method is called, the correct parameters are passed > and the query returns the correct data. But now what? What > I would like is that the query is returned from this > function so that I can deal with it in the display layer > of my application. But, I can't figure out how to get > out of the function?
I haven't tried to use a CFC as a form action, so you should take this with a grain of salt, but I suspect that if you do, the CFC will be responsible for displaying the page. I guess you could use a redirect within your CFC to avoid this. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ voice: (202) 797-5496 fax: (202) 797-5444 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Message: http://www.houseoffusion.com/lists.cfm?link=i:4:138189 Archives: http://www.houseoffusion.com/lists.cfm?link=t:4 Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. http://www.cfhosting.com

