I think the default action is to self-post i.e. the form post/get goes to the same controller/action that served the view with the form on it. This is a normal design convention and seems logical to me (although quite a noob myself). Perhaps I misunderstand your question?
On Feb 17, 8:01 am, Marcelo Andrade <[email protected]> wrote: > Hi there, > > By the CakePHP conventions, the view's name must be the same > as an action in a controller. A common mistake for the newbies is > when creating a form in the view is that the > > echo $form->create('MyModel'); > > defaults to generate a form for the "add" action. But I think that > should be more intuitive that it's defaults to the action with the > same name as the view. Isn' it? > > Best regards. > > -- > MARCELO DE F. ANDRADE (aka "eleKtron") > Belem, PA, Amazonia, Brazil > Linux User #221105 --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
