It's intentional, for convenience.
The simplest solution would be to use $this-
>input('General.island_param') and access the submitted data in $this-
>data['General']['island_param']. It doesn't matter that "General"
isn't a model.
On Aug 13, 9:34 am, "[EMAIL PROTECTED]"
<[EMAIL PROTECTED]> wrote:
> If I do echo $form->input('Model.id') and then echo
> $form->input('island_param'), Cake is using Model to create the second one's
>
> attribute tags and assigning $this->data['Model']['island_param'] in
> the controller.....why doesn't it put it in $this->data['island_param']? Is
> this supposed to be a feature for
>
> convenience or is it a bug? Some of my form elements should not be
> classified as part of the Model.
--~--~---------~--~----~------------~-------~--~----~
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?hl=en
-~----------~----~----~----~------~----~------~--~---