After having read the article, I think you shouldn't have such a big issue with this!
Your list action is the one being called by the ajax javascript, so it should return a normal view. Have you added the requesthandler component to your controller? Please remove the if statement in which you are checking for the requested parameter, that should not be necessary in this solution. Enjoy, John On Apr 27, 10:50 pm, sherzo <[email protected]> wrote: > actually I > usedhttp://bakery.cakephp.org/articles/view/easy-ajax-pagination-using-jq...http://bakery.cakephp.org/articles/view/easy-ajax-pagination-using-jq... > because paging was not working when I tried to use "echo > $this->element('lists');"!! It seems that I have serious problem in using > elements!!! > > Thanks > > Sherry > -- > View this message in > context:http://old.nabble.com/need-to-load-a-paging-controller-through-jQuery... > Sent from the CakePHP mailing list archive at Nabble.com. > > Check out the new CakePHP Questions sitehttp://cakeqs.organd help others with > their CakePHP related questions. > > You received this message because you are subscribed to the Google Groups > "CakePHP" 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 > athttp://groups.google.com/group/cake-php?hl=en Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups "CakePHP" 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/cake-php?hl=en
