Adding action in component in CakePHP
- by Jim H
Hi,
I'm trying to create a CakePHP component for JQuery datatables in server-side mode. I've got the datatable working but I want to componentize it so I can reuse it in multiple controllers.
When I include my new component in a controller I want it to create a new action on that controller called tabledata to handle the XHR queries from JQuery.…