That sounds interesting.

I am redoing what I was writing to comply with Cake concepts now that I have learned more Cake.

I too am shooting for something generic and re-usable.

I looked at incorporating the pagination class, but at least right now I don't think it suits my process.

On 5/27/06, AD7six <[EMAIL PROTECTED]> wrote:

Hi John/all,

If anyone is still interested: I actually did this a couple of weeks
ago to provide a search page. I'm currently trying to make my solution
more generic so that I can share it in a meaningful way.

The solution I had, which I didn't realise fitted the PRG model until
reviewing the links above, relies upon a search form which redirects to
a results page with the query defined in the url (e.g.
/Boats/results/Mode/Sale/ManufacturerIn/1/ManufacturerIn/3/TypeIn/8/LengthTotalFrom/10/LengthTotalTo/15/)

The juicy bit is generating the search form automatically, converting
the query to and from a url and displaying the query in words on the
results page. All to keep individual controller code to a minimum.

More soon :),

AD7six



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake PHP" group.
To post to this group, send email to cake-php@googlegroups.com
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