The cf functions called by CFAJAX don't live in a CFC - they are a in a .cfm file. Most people leave their CFCs unchanged, instantiating them somewhere and writing wrapper functions for them in the functions.cfm file. This provides the CFAJAX hints if you need them (which is not often necessary, depending on the return type; for example, I never use them) without having to alter the CFCs at all.
On 2/6/06, Aaron Roberson <[EMAIL PROTECTED]> wrote: > James, > > Thank you for the brief overview. What I have gathered is that CFAJAX > is strictly for converting CFC variables into JavaScript calls for > AJAX implementation. This has been provided for free by a very > generous, friendly web developer '-) On the otherhand, WebOrb does > both that and Flash Remoting, but it includes a price tag. > > What struck me odd about CFAJAX is that it requires special values in > the "hint" attribute of the cffunction tag such as > hint="type='keyvalue' jsreturn='array'". While placing such code in > the hint attribute is not destructive when using the CFC in a > traditional way, it is difficult for perfectionists (purists) to get > used to. -- CFAJAX docs and other useful articles: http://jr-holmes.coldfusionjournal.com/ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:231391 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

