If you aren't using "returnFormat: 'JSON'" on your Ajax request calls, then you're probably working too hard.
You can use the SerializeJson() method, if need be. Steve "Cutter" Blades Adobe Community Professional - ColdFusion 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 Richard White wrote: > hi > > we have used php in the past with extjs, when validating data on the server, > if something fails we pass back the failure by writing: > > die(json_encode('reason for failure')); > > it must be encoded for extjs to use it properly > > however we cannot seem to find an equivalent in coldfusion, we have tried > cfabort and setting the showError attribute, and with the SerializeJSON but > doesnt appear to work > > dos anyone have any suggestions > > thanks > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:334857 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm