Meanwhile, I have done this:
$paginate_links = $paginator->numbers();
and I looked for the options in the scripts, using preg_match
preg_match('/{([^}|^{]*)}/', $paginate_links,$link_options);
and added my parameters to the options(all are the same)
$paginate_links = str_replace($link_options[1],
$link_options[1].',method:"post",parameters:$("myForm").serialize()',
$paginate_links);
and I echo the $paginate_links
echo $paginate_links;
It works but maybe there is a better way to do it.
--
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