Hmpth. This seems right. So dumb question. If you remove ALL the logic
in your callback, just keep in

console.dir(arguments);

and maybe a

console.log("why dont you freaking work");

does it work correctly? Also - can you put this online? It may be a lot quicker.

On Wed, Sep 12, 2012 at 1:45 PM, Greg Morphis <gmorp...@gmail.com> wrote:
>
> Sure thing Ray, thanks so much for helping.
>
> http://pastebin.com/2M04ZFaQ
>
> And I'm not sure if this tells you anything, Firebug gives this error:
>
> TypeError: presentation is null
> onreadystatechange()cfajax.js (line 125)
>
> $A.callback(req,_407,_408);
>
>
> On Wed, Sep 12, 2012 at 1:29 PM, Raymond Camden 
> <raymondcam...@gmail.com>wrote:
>
>>
>> Can you post your entire CFM again? Please use something like pastebin
>> or gist.github.com so it is "in the clear".
>>
>>
>> On Wed, Sep 12, 2012 at 1:04 PM, Greg Morphis <gmorp...@gmail.com> wrote:
>> >
>> > I've tried returntype of query, string, and even taking that attribute
>> off
>> >
>> > <cffunction name="getAllConferencePresentations" access="remote"
>> > output="false" returntype="query" returnformat="json">
>> >
>> > still not returning it to back to demo.cfm
>> >
>> > On Wed, Sep 12, 2012 at 1:01 PM, Greg Morphis <gmorp...@gmail.com>
>> wrote:
>> >
>> >> I noticed that earlier and changed it. It still highlights the
>> >> var pId = presentation.DATA[0][0];
>> >>
>> >> with a null error
>> >>
>> >>
>> >> On Wed, Sep 12, 2012 at 12:58 PM, Rodney Enke <renk...@gmail.com>
>> wrote:
>> >>
>> >>>
>> >>> In your cfc method try changing the returntype="json" to
>> returntype="any"
>> >>> and add the attribute returnformat="json" so you function declaration
>> >>> should look like:
>> >>>
>> >>> <cffunction name="getAllConferencePresentations" access="remote"
>> >>> output="false" returntype="any" returnformat="json">
>> >>>
>> >>> I have not tested this so it may not fix your problem, but I believe
>> json
>> >>> isn't a valid returntype.
>> >>>
>> >>> -
>> >>> Rodney
>> >>>
>> >>> On Wed, Sep 12, 2012 at 12:36 PM, Greg Morphis <gmorp...@gmail.com>
>> >>> wrote:
>> >>>
>> >>> >
>> >>> > What's weird is if I click on the RequestURL
>> >>> >
>> >>> >
>> >>> >
>> >>>
>> http://localhost:81/resources/proxy.cfc?method=getAllConferencePresentations&returnFormat=json&argumentCollection=%7B%22tag_id%22%3A0%2C%22year%22%3A2012%7D&_cf_nodebug=true&_cf_nocache=true&_cf_clientid=235E1C59C699DA256BA5C27C5890D98B&_cf_rc=0
>> >>> >
>> >>> >
>> >>> > I get:
>> >>> >
>> >>> >
>> >>>
>> "COLUMNS":["ID","TITLE","PATH","AUTHOR","CONFERENCETITLE","TAG_ID","DATE"],"DATA":[[44,"Affiliate","\/assets\/utilities\/serve.cfm?gid=00666248-bead-4df7-b51f-2790a9bb232e","foo","NASWA
>> >>> > UI Committee Meeting",null,"July, 16 2012 10:40:04"],
>> >>> >
>> >>> > ...
>> >>> >
>> >>> > but it still highlights
>> >>> > var pId = presentation.DATA[0][0];
>> >>> >
>> >>> > saying presentation is undefined.
>> >>> >
>> >>>
>> >>
>> >
>> >
>> >
>>
>>
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:352550
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to