Re: Pagination with CakePHP 1.2 Out of the box - Ajax update shows up twice first time.

2007-04-03 Thread Christopher E. Franklin, Sr.

Post your relavent code, please.  It looks like what happened to me in
1.1.xx  I didn't have a $ajax->div('content'); and $ajax-
>divEnd('content'); in the remote view that I was calling.  Without
those two tags, it would just display another entire page.

On Apr 3, 1:51 pm, "Humble Groups" <[EMAIL PROTECTED]> wrote:
> I have a strange issue with Pagination.
>
> When I click on the next/previous/first/last link for the first time
> the previous content is pushed below and the new content shows up.
> After that it just replaced the new content. In other words, when i
> click on the first time on pagination links, it retains the old
> content with in "content" div tag and push it below, get the new
> content dump it before the old content. If I disable the javascript
> and click on the links it works without this issue.
>
> You can check the issue here
>
> Go tohttp://ps.namo-namaha.net/messages
> Check the "Messages:" content.
> Click on 'Next" link on top.
> Browse below, you will see the page twice.
>
> I am not sure what I am doing wrong, I just took the cakephp 1.2
> nightly code and did as per nate's blog.
>
> TIA


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Pagination with CakePHP 1.2 Out of the box - Ajax update shows up twice first time.

2007-04-03 Thread Humble Groups

I have a strange issue with Pagination.

When I click on the next/previous/first/last link for the first time
the previous content is pushed below and the new content shows up.
After that it just replaced the new content. In other words, when i
click on the first time on pagination links, it retains the old
content with in "content" div tag and push it below, get the new
content dump it before the old content. If I disable the javascript
and click on the links it works without this issue.

You can check the issue here

Go to http://ps.namo-namaha.net/messages
Check the "Messages:" content.
Click on 'Next" link on top.
Browse below, you will see the page twice.

I am not sure what I am doing wrong, I just took the cakephp 1.2
nightly code and did as per nate's blog.

TIA

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---