you mean:
$this->WidgetMenu->bindModel(
array('hasOne' => array(
'ModelName' => array(
'className' => 'ModelName',
)
),
), true);
i tried that, it doesn't work.. i didn't get what's the second
parameter (unless it's the 'true' after the array..).
On Jul 19, 8:29 am, AD7six <[EMAIL PROTECTED]> wrote:
> On Jul 19, 6:17 am, phpjoy <[EMAIL PROTECTED]> wrote:
>
> > nobody has an idea how to make the pagination work with bindmodel
> > instead of static models?
>
> You use the second parameter in bindModel to make the new association
> persist. Like what gwoo and phpNut said in the ticket comments.
>
> AD
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---