The event types for both is INT.  There is not a title in either
table.

On Jan 12, 1:55 pm, Rob Wilkerson <r...@robwilkerson.org> wrote:
> On Jan 12, 2:36 pm, Eric <err...@gmail.com> wrote:
>
>
>
> > Hello,
>
> > I have an entity called "Event" and an entity called "Gathering".  A
> > "Gathering" is comprised of one or more "Event".
> > I have a table called "events" and a table called "gatherings".  I
> > also have a table called "events_gatherings" that contains 2 fields
> > "event_id" and "gathering_id".
>
> > The "Gathering" model contains the line: "var $hasAndBelongsToMany =
> > 'Event';".  When this relationship is defined and scaffold is turned
> > on, my add Gathering page presents me with a select list of events to
> > choose from (this is what I expect).  However when I run bake and
> > define the same type of relationship between "Event" and "Gathering"
> > the resulting add page for Gathering does not present a select list of
> > events to choose from.
>
> > Why is this?  Am I doing something wrong, or was I meant to do this
> > part for myself?  I figured if I get the select list with scaffolding,
> > I would get it with the code generation from bake.
>
> In the respective tables, what is the data type for event_id and
> gathering_id? Is there a "title" field in both?
--~--~---------~--~----~------------~-------~--~----~
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