paginating - several on one page
Hello,
I try to have several tables with paginated data in one view.
###########################
texttexttexttext
div with paginated data 1
div with paginated data 2
div with paginated data 3
###########################
When loading the page the first time everything seems correct except
for all counters
In the controller I have these lines:
$data1= $this->paginate('data1');
$data2= $this->paginate('data2');
$data2= $this->paginate('data3');
There seems to be only one counter (for data1)? What do I have to do
to get several counters?
When updating the paginated divs, alls three divs contain now data1.
I have theese lines in my code - no check from which div the call
came. Where can I access this data? Where do I have to put it
$paginator->options()?
if($this->RequestHandler->isAjax()){
$this->viewPath = 'elements';
$this->render('paging1');
}
I am sorry if my text is a bit confusing. English is a foreign
language for me and I do not really know how to describe my problem.
Thank you for any suggestions!
Melanie
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 cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home