I have models: 'Client' hasMany 'Service' and 'Contact'...

When I view a Client record I want to see the Service and Contact
records associated with that Client. Works fine till I try to paginate
the Service records....Actually, first page works, but the second page
seems to go to the wrong URL.

Example: The page: ".../clients/view/37" displays correctly, but when
I click on the next page for Service...it takes me to ".../clients/
view/page:2" and not ".../clients/view/37/page:2".

Is this a bug in the paginator code?

in...views/clients/view.ctp file I'm using this the links generated by
this to go from page to page:

<?php echo $paginator->numbers(); ?>

Thank You.

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+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en

Reply via email to