If the form was available throughout your site (like setting it in the
layout or through an element) then that variable was needed on
beforeRender(). But if you are only showing the form on the search view,
then there's no need for that.

-MI

---------------------------------------------------------------------------

Remember, smart coders answer ten questions for every question they ask. 
So be smart, be cool, and share your knowledge. 

BAKE ON!

blog: http://www.MarianoIglesias.com.ar


-----Mensaje original-----
De: [email protected] [mailto:[EMAIL PROTECTED] En nombre
de mike
Enviado el: MiƩrcoles, 21 de Febrero de 2007 12:14 p.m.
Para: Cake PHP
Asunto: Re: seaching various feilds

That's great works a treat thanks. I thing..could you tell me the
advantage of putting it the AppController::beforeRender() method
rather than just in the controller.


--~--~---------~--~----~------------~-------~--~----~
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?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to