Wait! I see it! If you look at the response in Firebug, above the JSON you see:
<link href="../style.css" rel="stylesheet" type="text/css"> Your code is injecting HTML in. On 8/7/07, Raymond Camden <[EMAIL PROTECTED]> wrote: > Ah cool. So yeah - my little rant. Don't bother with XMLFOrmat. Well, > I won't say don't bother - but XMLFormat will ignore certain invalid > characters. This has caused me MUCH heartache. > > On 8/7/07, Elena Aminova <[EMAIL PROTECTED]> wrote: > > We do have the "<cfcontent type="text/xml" reset="true">" > > set in the code but it seems the problem is with some of our data in the > > database. > > > > Special chars like ý causes the generated xml file to be incomplete. > > > > By getting rid of these special chars the xml file was correctly generated > > and used by spry's dataset within fusebox. > > > > Thank you very much for your help, Ray. > > > > > Oh ok - did you forget your cfcontent perhaps? > > > > > > http://www.coldfusionjedi.com/index. > > > cfm/2007/8/6/Dont-forget-that-CFCONTENT-tag-when-working-with-Spry > > > > > > > > > On 8/7/07, Elena Aminova <[EMAIL PROTECTED]> wrote: > > > > All right, Ray, Let me try to rephrase my question: > > > > the following code does not result in a drop down list of the data > > > within a fusebox application. and yet calling the fuseaction directly > > > from the browser does show the generated xml data. Its working when > > > the page is set outside of fusebox... I am not sure if there is a > > > connection, but it is what it is... > > > > (as an aside, all I am trying to do is to get a dynamically > > > generated drop down list of authors using 'auto suggest') > > > > > > > > <script> > > > > var dsProducts1 = new Spry.Data.XMLDataSet("index. > > > cfm?fuseaction=testnames2","authors/author", { sortOnLoad: "name" }); > > > > </script> > > > > > > > > Thanks, > > > > > > > > Elena. > > > > > > > > > Yes to q1. Spry could care less what your back end is. Fusebox. > > > > > Model-Glue. Even dreaded PHP. Spry is entirely client side. Elves > > > > > could make the XML - it wouldn't matter. > > > > > > > > > > As to your second question, it didn't make sense to me. :) > > > > > > > > > > On 8/7/07, Elena Aminova <[EMAIL PROTECTED]> wrote: > > > > > > Is it possible to dynamically generate XML data set for Spry in > > > > > Fusebox 5.1? > > > > > > It is possible to do that outside of Fusebox, but not in > > > Fusebox > > > > > framework. Did anyone encounter this issue yet? > > > > > > > > > > > > Thanks, > > > > > > > > > > > > Elena. > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Enterprise web applications, build robust, secure scalable apps today - Try it now ColdFusion Today ColdFusion 8 beta - Build next generation apps Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:285624 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

