Hi, Nate.

I see you've closed ticket #996 saying requestAction() handles my
request. That's not exactly true! In the example i've given that doesn't
work. 

I have the same piece of code (template) rendered by two different
actions: in the index action i want to include the code as a
sub-view/element/whatever inside the index.thtml view and in action
delete, for example, i want to render that same view using ajax layout. As
you can see i can't use requestAction() on index to get the rendered view!
The only solution would be to create a dummy action that would render the
same view using the default layout and call that from index but i think my
suggestion would be a cleaner and more elegant implementation.

Regards.

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