Hi.

Is there a way of including other views, inside a given view? The idea is
similar to elements but, instead of being global, they would be elements
valid only for one controller's views.

I'm asking you this because i was just trying the AJAX task list tutorial
(http://www.grahambird.co.uk/cake/tutorials/ajax.php). If you look at it,
in the index view, the todo and done divs have the same code as the todo
and done views. It would be better to have the code only in one
place and simply insert it where needed. As i stated earlier, it's kinda
like elements, but constrained to one controller.

Can it be done?

Thanks in advance.

-- 
Gonçalo Marrafa <[EMAIL PROTECTED]>

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