Hi I'm building a db schema which will have a number of Jobs which
belong to a Project.  A Job can cover many Rooms in different
Buildings.  Each Project can have many Buildings.  I have the
following associations.  With scaffolding it looks okay, but when i
add a job, how can i filter the room number list box so it only lists
the room numbers for the Project Buildings.  When i add a job, i
select the project, so i don't have a project.id to go on?  Any advice
would be appreciated.

One Project HABTM Building
One Building HABTM Project

One Job HABTM Room
One Room HABTM Job

One Project hasMany Job
One Building hasMany Room
--~--~---------~--~----~------------~-------~--~----~
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