Is there a way of getting an action's (from the same controller) rendered
view without using requestAction()?

Say you have a FooController:

class FooController extends AppController 
{

    function someAction() { ... }


    function otherAction()
    {
        $this->set('someActionOutput', $this->someAction());
    }
}

How can i make someAction() return the rendered view so i can do what i do
in otherAction()? Is there some other way of doing it (without
requestAction())?

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