Hi,
Using latest cake alpha (r5427).
I have an association between two models that doesn't follow Cake
conventions ("Activity belongsTo Audience" and its counterpart
"Audience hasMany Activity").
Cake's convention demands that the association is on
Activity.audience_id. In my case, it isn't, it's on Activity.ade_id.
I got my models/controllers set up to handle this. My view shows:
echo $form->input('ade_id');
FormHelper shows me a plain text box, but I expected a nice
select-list with all available audiences.
How should I change the call to $form->input() to show a select-list?
The list with audiences is available to the view in variable
$audiences.
Regards,
Martin
--
Martin Schapendonk, [EMAIL PROTECTED]
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---