Use RequestAction().

for instance let's say you have controller Registration with method 
edit($step) and you want the output of controller User method 
listening($cat_id)
you use to call the adress registration/edit/1
transform edit($step) in edit($step, cat_id)
inside the method use RequestAction('User/listening'.$cat_id) in 
combination with set()

Look at the manual about RequestAction()

olivvv

PaulM wrote:
> I have a page that consists of a registration form on the left and
> user listing on the right.
> I want the registration page to be separate view or element and the
> user listing another separate element.
>
> How do I create two elements like that. They both have their own
> controllers.
>
> Thanks
>
>
> >
>
>   


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