I'm just guessing here, but I assume your table should be called
store_tables (plural). Of course I might be completely wrong if your
StoreTable model is working as expected..?

On Dec 12, 6:17 pm, _Z <zmcar...@gmail.com> wrote:
> Hello,
>
> I am expecting a dropdown box in my /add action, but only a textbox is
> produced.
> Another field is associated and configured the same way, and I get a
> dropdown box.
>
> Details:
>
> The association is setup so that 'store_table' belongsTo 'Waitlist'.
>
> In the /add.ctp ,
>  ....
>         echo $form->input('highchair_number');
>                 echo $form->input('store_zone_id');
>                 //echo $form->input('comments');
>                 //echo $form->input('est_wait_min');
> ...             echo $form->input('store_table_id');
>
> The store_zone is associated 'store_zone' belongsTo Waitlist, and I
> get a dropdown.
>
> However, I do not get any dropdown for store_table_id.  Both foreign
> keys are present in the Waitlist table.
>
> I'm really stuck on this one, any guidance is appreciated!
> Thanks!
> _Zach
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to 
cake-php+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to