Also you can just do $this->Airport->findAllByCity($this->data["Airtravelcalculator"]["city_input"]) and then return stuff.
In a controller method I don't find myself using requestaction much at all. I instead use the Models methods (findBy, findAll, etc.) to get any data I need in a specific view. I use requestaction a lot in the views to get side menus or small methods that return something without any layout that would later be updated using AJAX. I think you need to rethink your code and what you are doing in your controller that requires so many requestactions. Perhaps you are trying to be too politically correct and not using your var $uses parameter at all. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
