Fairly certain you would have to serialize the query output to JSON using the serializeJSON() method.
Steve "Cutter" Blades Adobe Certified Professional Advanced Macromedia ColdFusion MX 7 Developer Co-Author of "Learning Ext JS" http://www.packtpub.com/learning-ext-js/book _____________________________ http://blog.cutterscrossing.com Ed Waible wrote: > When I execute a .cfm with the following CFSELECT in the page I get an error > that the acccess attribute needs to be remote, which it is... see below. > > <cfselect name="country" id="form_country" value="country" > bind="cfc:quote.getCountries()" bindonload="true" /> - this does not work > > The specified function getCountries on the CFC autoQuote must have its access > attribute set to 'remote'. > > If I change this to use the actual cfc that contains the the method the page > runs fine. I need to be able to extend this, any ideas? > > <cfselect name="country" id="form_country" value="country" > bind="cfc:util.getCountries()" bindonload="true" /> - this works > > CFC's are below... > > <cfcomponent displayname="quote" extends="util"> > </cfcomponent> > > <cfcomponent displayname="util"> > <cffunction name="getCountries" access="remote" returntype="query" > output="false"> > <cfquery datasource"mydns" name="qCountries"> > select country from countries order by country > </cfquery> > <cfreturn qCountries> > </cffunction> > </cfcomponent> > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:317945 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

