Actually I think the error was right after this. THe line that tried
to use presentation as an argument. So this:

var popConferencePresentations = function(presentation) {

should be

var popConferencePresentations = function(presentation) {
console.dir(arguments);

To be clear, you WILL get an error in the console sitll - all we are
doing is dumping stuff out before you use it.


On Wed, Sep 12, 2012 at 11:33 AM, Greg Morphis <gmorp...@gmail.com> wrote:
>
> Since the line throwing the error is:
> var popConferencePresentations = function(presentation)
> I put it here:
> console.dir(arguments);
> p.setCallbackHandler(popConferencePresentations);
>
> Is that right? If so, where should I see the output?
>
> Firebug shows:
>
> TypeError: presentation is null
>
>
> var pId = presentation.DATA[0][0];
>
> So I put the console.dir(arguments) above var pId = presentation.DATA[0][0];
>
> and I get the same thing in the console. Thanks!
>
>
>
>
> On Wed, Sep 12, 2012 at 11:17 AM, Raymond Camden 
> <raymondcam...@gmail.com>wrote:
>
>>
>> Hmmm no - can you try console.dir(arguments) (immediately before the
>> line throwing the error) and sharing what is dumped?
>>
>> On Wed, Sep 12, 2012 at 10:53 AM, Greg Morphis <gmorp...@gmail.com> wrote:
>> >
>> > Thanks Ray for the response,
>> > I get this in the console when putting a breakpoint on the var pId = ...
>> >
>> > _cf_clientid186CD443C74F6630BE78C272EDD3CB4E _cf_nocachetrue_cf_nodebug
>> true
>> > _cf_rc0 argumentCollection{"tag_id":0,"year":2012} method
>> > getAllConferencePresentations returnFormatjson
>> >
>> > does that help any?
>> >
>> > On Wed, Sep 12, 2012 at 10:36 AM, Raymond Camden <
>> raymondcam...@gmail.com>wrote:
>> >
>> >>
>> >> I'd perhaps debug this line:
>> >>
>> >> var populateConferencePresentations = function(presentation)
>> >>
>> >> You can add a breakpoint in Chrome Dev Tools or Firebug. Or - you could
>> >> simply
>> >>
>> >> console.dir(arguments) to see what is being passed to the callback.
>> >>
>> >>
>> >> On Wed, Sep 12, 2012 at 10:23 AM, Greg Morphis <gmorp...@gmail.com>
>> wrote:
>> >> >
>> >> > I'm playing around with the cfajaxproxy example on adobe livedocs and
>> >> > everything looks right, I get
>> >> > "Timestamp: 9/12/2012 10:15:55 AM
>> >> > Error: TypeError: presentation is null
>> >> > Source File: http://localhost:81/resources/demo.cfm?reset=1
>> >> > Line: 44"
>> >>
>> >>
>> >
>> >
>>
>>
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:352525
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to