Hi,

I've just finnished a db design and I'm just setting cake up to use it
with the scaffolding.

I'm going well so far witht the belongsTo. I can see all the options
for the parent tables in a drop down. So all good there.

I'm having difficulty when it comes to hasAndBelongsToMany. The
relationship seems fine (no errors reported):

        var $hasAndBelongsToMany = array('Venue' =>
                array('className' => 'Venue',
                        'joinTable'  => 'btypes_venues',
                        'foreignKey' => 'btype_id',
                        'associationForeignKey'=> 'venue_id',
                        'conditions' => '',
                        'order'      => '',
                        'limit'      => '',
                        'unique'       => true,
                        'finderSql'  => '',
                        'deleteQuery'=> ''
                )
        );

but the scoffold doesn't offer a select box for Venues, can the
scaffold do this, or is it to complicated for it?

Or am I doing something wrong?

Cheers


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to