Render, was what I need.
It's because, I don't want a view for Edit and a view for Add,
the diference about the views in my case, are only 1 form field, and 1 shot description....
so I will try to use the same view..
tks
Olivier Percebois-Garve escreveu:
>
> Hi
>
> See http://manual.cakephp.org/chapter/7 for "Interacting with your
> Views" - render()
> if you want to request in another controller use requestAction().
>
> You might be confusing the MVC structure: There is function in the model
> and controller files,
> but not in the views (normally).
>
> Olivvv
>
>
> Fernando Andreacci wrote:
>>
>> If I have a funcion called function1, can I use a view called
>> function2 to this function?
>>
>> --
>> Fernando Andreacci
>>
Desenvolvimento
>> Setti Sistemas Ltda.
>> Fone(47)3028-2445
>> >
>
>
> />>
--
Fernando Andreacci
Desenvolvimento
Setti Sistemas Ltda.
Fone(47)3028-2445
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---
