Hi eleven10,

> This table has P (bid_session_id, user_id). If I remove that and add an id 
> field as PK,
> things start working. However, since I am not interested in using this
> join model directly, I shouldn't have to do this ... as far as I
> understand from the manual and other cake blogs/tutorials.

Nope, your can not use composite keys with cakephp, you have to have
an ID (or a field that you use as the primary, auto-incrementing id) -
search the group for more background on this.

> (b) The generated scaffold view for /bid_sessions/add correctly shows
> me a list (multi-select) of users to choose from for that session.
> However, in /users/add, the code shows a select drop down for Bid
> Session Registrations (and options for listing/creating Bid Session
> Registrations). Shouldn't cake be generating a list of Bid Sessions to
> choose from (as in the other case)?

make sure you define your associations in alphabetical order,
scaffolding can be quite picky about that (least it was last time I
used it, though that was some time ago!).

hope this helps,

jon

-- 

jon bennett
w: http://www.jben.net/
iChat (AIM): jbendotnet Skype: jon-bennett

--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to