Ezra, Wow! That worked. I spent so much time on that yesterday. Thank you so much for looking into this for me. I will try to limit my silly questions but is this the correct medium for requesting help? I will read over that blog and any additional resources will be greatly appreciated. I am new to CF, model-glue, and jQuery so I apologize for any inconveniences I may cause.
Thanks again, Shawn On Tue, Apr 6, 2010 at 5:29 PM, Ezra Parker <[email protected]> wrote: > Hi Shawn, > > I believe I know what the issue is here. I'm assuming that you're > testing this on CF 9, correct? If so, then the problem stems from the > fact that there was a change in the casing used for JSON returned from > CFCs in CF 9 -- here's a blog post summarizing the issue: > > http://www.codfusion.com/blog/post.cfm/json-differences-in-coldfusion-9 > > In order to fix this, change line 25 of the sample file from this: > > var html = '<li>'+qry.users.DATA.name <http://qry.users.data.name/> > [i]+'</li>'; > > To this: > > var html = '<li>'+qry.users.DATA.NAME <http://qry.users.data.name/> > [i]+'</li>'; > > And this should fix the problem. > > Assuming that this is indeed the case, thank you for pointing it out, > as it's a good reminder that we need to update the wiki to explain > this issue and how to work around it. > > If this is *not* the problem you've encountered, please post back with > as much detail as possible about your environment, and we'll get you > sorted out. > > -- > Ezra Parker > > > > On Tue, Apr 6, 2010 at 2:16 PM, Shawn Downs <[email protected]> > wrote: > > Mr. Wilson, > > Thank you very much for getting back with me! Yes, I have debugging > turned > > on. I don't know if that's the issue because I can display the "ROWCOUNT" > > > > Thanks again, > > Shawn > > > > On Tue, Apr 6, 2010 at 4:55 PM, Dan Wilson <[email protected]> wrote: > >> > >> Do you have model glue debugging turned on? > >> What about coldfusion debugging? > >> > >> DW > >> > >> On Tue, Apr 6, 2010 at 4:44 PM, Shawn <[email protected]> wrote: > >>> > >>> (I apologize if I missed a post about this or if I am asking in the > >>> wrong place) > >>> > >>> I have been trying your example on remoting (http://docs.model- > >>> glue.com/wiki/HowTos/HowToUseRemoting) with no success. I even broke > >>> down and copied the code down to the letter and I get a js error when > >>> the page loads: > >>> > >>> Webpage error details > >>> > >>> User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/ > >>> 4.0; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR > >>> 3.0.04506.30; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; MDDR; > >>> OfficeLiveConnector.1.4; OfficeLivePatch.1.3) > >>> Timestamp: Tue, 6 Apr 2010 20:41:57 UTC > >>> > >>> > >>> Message: 'users.DATA.name <http://users.data.name/>' is null or not an > object > >>> Line: 43 > >>> Char: 17 > >>> Code: 0 > >>> URI: http://localhost:8300/index.cfm?event=page.listTest > >>> > >>> Any help is appreciated! > >>> > >>> Thanks, > >>> Shawn > >>> > >>> -- > >>> Model-Glue Sites: > >>> Home Page: http://www.model-glue.com > >>> Documentation: http://docs.model-glue.com > >>> Bug Tracker: http://bugs.model-glue.com > >>> Blog: http://www.model-glue.com/blog > >>> > >>> You received this message because you are subscribed to the Google > >>> Groups "model-glue" group. > >>> To post to this group, send email to [email protected] > >>> To unsubscribe from this group, send email to > >>> [email protected]<model-glue%[email protected]> > >>> For more options, visit this group at > >>> http://groups.google.com/group/model-glue?hl=en > >>> > >>> To unsubscribe, reply using "remove me" as the subject. > >> > >> > >> > >> -- > >> “Come to the edge, he said. They said: We are afraid. Come to the edge, > he > >> said. They came. He pushed them and they flew.” > >> > >> Guillaume Apollinaire quotes > >> > >> -- > >> Model-Glue Sites: > >> Home Page: http://www.model-glue.com > >> Documentation: http://docs.model-glue.com > >> Bug Tracker: http://bugs.model-glue.com > >> Blog: http://www.model-glue.com/blog > >> > >> You received this message because you are subscribed to the Google > >> Groups "model-glue" group. > >> To post to this group, send email to [email protected] > >> To unsubscribe from this group, send email to > >> [email protected]<model-glue%[email protected]> > >> For more options, visit this group at > >> http://groups.google.com/group/model-glue?hl=en > > > > -- > > Model-Glue Sites: > > Home Page: http://www.model-glue.com > > Documentation: http://docs.model-glue.com > > Bug Tracker: http://bugs.model-glue.com > > Blog: http://www.model-glue.com/blog > > > > You received this message because you are subscribed to the Google > > Groups "model-glue" group. > > To post to this group, send email to [email protected] > > To unsubscribe from this group, send email to > > [email protected]<model-glue%[email protected]> > > For more options, visit this group at > > http://groups.google.com/group/model-glue?hl=en > > -- > Model-Glue Sites: > Home Page: http://www.model-glue.com > Documentation: http://docs.model-glue.com > Bug Tracker: http://bugs.model-glue.com > Blog: http://www.model-glue.com/blog > > You received this message because you are subscribed to the Google > Groups "model-glue" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected]<model-glue%[email protected]> > For more options, visit this group at > http://groups.google.com/group/model-glue?hl=en > -- Model-Glue Sites: Home Page: http://www.model-glue.com Documentation: http://docs.model-glue.com Bug Tracker: http://bugs.model-glue.com Blog: http://www.model-glue.com/blog You received this message because you are subscribed to the Google Groups "model-glue" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/model-glue?hl=en
