That's not saying you should do what I do or that hitting the cfc directly is bad - just saying how I solve the problem you are having...
However, is it absolutely neccessary for the cfc method to take a struct as its single argument? Could you define no arguments at all and use the arguments scope in the same way you are using the struct that you're passing currently? Dominic 2009/8/12 Dominic Watson <[email protected]> > My personal preference is not to hit cfc's directly. Instead, I use a > framework (ModelGlue, Fusebox, etc) for *every* request, be it an ajax one > or anything else. My cfc method just knows that it gets given a load of data > and it returns a load of data - it does not need to worry about the output > format of that data. The framework can then get the data it needs and spit > it out in the way asked of it (ie. json, xml, html, etc). > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:325372 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

