I think i found the solution, in controller

$this->data = instance of ModelB

On 23 oct, 15:38, maxmil <[EMAIL PROTECTED]> wrote:
> Hi,
>
> i would like to use the form helper to generate fields for one of the
> non default models in my controller.
>
> Say that my controller is called ModelAsController and therefore has
> default model ModelA but also uses other models, ModelB say.
>
> I would like a form in one of my views that could automatically
> populate and send a ModelB object to an action on my
> ModelAsController.
>
> Is this possible?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" 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?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to