You should also have a writeBuffer() call at the end of your home.ctp...

Don't know if that will solve all your problems, but it's something. Hope
that helps.

~Philip

http://lonestarlightandsound.com/

On Wed, May 25, 2011 at 5:16 PM, l4yercake <[email protected]> wrote:

> Hello all,
>
> I followed the directions in the Cake 1.3 manual to implement ajax
> pagination (http://book.cakephp.org/view/1600/Ajax-Pagination) and I
> also tried the method posted by Mark Story (Thanks!) on his blog
> (http://mark-story.com/posts/view/creating-simple-ajax-pagination-with-
> cakephp-1-3-and-mootools).
>
> I know from the comments that these two methods have worked for users,
> but I can't seem to figure out what the issue is with my code. Here is
> a link to my code: http://bin.cakephp.org/view/441618115
>
> This is what I am encountering: I have set a limit of 10 results.
> These results show up correctly, however when I click on the "next"
> link to show the rest of the results, the entire page goes empty.
> Without AJAX, I am taken to page 2 and the results show up. With AJAX
> implemented as shown in my code, the entire page just goes empty/
> white.
>
> I have tried searching for this particular scenario and what might be
> affecting it but I could not find anything. I would appreciate any
> help.
>
> Thank you!
>
> --
> Our newest site for the community: CakePHP Video Tutorials
> http://tv.cakephp.org
> Check out the new CakePHP Questions site http://ask.cakephp.org and help
> others with their CakePHP related questions.
>
>
> To unsubscribe from this group, send email to
> [email protected] For more options, visit this group
> at http://groups.google.com/group/cake-php
>

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to