Well there are some sollutions:
1. put the form values in a session.
2. put your form values in the url
Deepak Shrestha wrote:
>
> Hi,
>
> I need some hint on using paginator with search form.
>
> If I have following code in my controller
> =============================
> if($request->isPost())
> {
> if ($form->isValid($request->getPost()))
> {
> $req = $form->getValues();
> $pageno = $request->getParam('page');
> $this->showRequestedNews($req, $pageno);
> }
> }
> else
> {
> //what?
> //where do I get form values here if I were to issue
> showRequestedNews() function?
> }
> =======================
>
> When I click next in my paginator, it is not a posted request from Form
> anymore.
>
> so how does the next page is proceesed?
>
> Thanks
>
> --
> =======================
> Registered Linux User #460714
> Currently Using Fedora 8, 10
> =======================
>
>
-----
visit my website at http://www.phpscriptor.com/ http://www.phpscriptor.com/
--
View this message in context:
http://www.nabble.com/Form-values-and-paginator-question-tp22021167p22022270.html
Sent from the Zend Framework mailing list archive at Nabble.com.