Hi all,

I have searched for similar queries and found many different answers
but nothing that quite suits my needs.

We have a group of ajax actions that apply to the majority of the
models that make up the backbone of a CMS that we are writing.  I have
placed these actions and there related methods into the app_controller
and app_model.  So far, so good.  When these actions are called the
headers are switched to text/xml and the layout switched to ajax but I
can't find a way to have a generic view file that is used to send the
responses back to client.

So, I would like to use a "reorder" view for all my ajax "reorder"
requests but currently I need to place a copy of the "reorder" view in
each controllers views directory.

Is there a simple way around this?

Many thanks for your thoughts,

Nick


--~--~---------~--~----~------------~-------~--~----~
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