Hi Greg,

There are a number of possibilities, and I didn't want to clutter the
wiki with superfluous info.

0) If the parameters can be passed by the url, and you specify "url" in
the 3rd parameter to pass to the component, this url will be used as
the "base" for all links.

1) If you use PRG (Post, Redirect, Get) it is very easy.
E.g. in the controller that processes the form result, you redirect to
a url containing all the parameters for the search; there's no extra
work. E.g.
<Form submitted and redirects to>
http://www.noswad.me.uk/pagination/Normal/Searchresults/Business
OR
http://www.noswad.me.uk/pagination/Normal/Searchresults/Psychology
etc.

2) Use ajax to serialize the form on each request. E.g.
http://www.noswad.me.uk/Pagination/Form
(search for "the" for example and you get all results containing the,
and the sort/pagination links include this on each request).

You can see how the above are achieved via the "Download Me" option.
There are other possibilities of course, Personally I would choose 1
where possible (can be bookmarked or returned to by the user easy code
etc.).

HTH,

AD7six


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to