First thing, using conventions (which is always the best way as much
easier to debug issues) your foreignKey should be user_id unless you
already have that foreignKey in the table.  If you do already have an
existing foreignKey of user_id in the super_users table or really
really want to associate it as ControlledUser then your foreignKey
should be controlled_user_id.  However, as you have specified the
foreignKey it should still work (as long as you've specified it
correctly).

Secondly, I would get rid of all the other attributes if you're not
using them ... not sure what it does if you send them through as blank
strings.

Thirdly, if you do a debug($controlledUsers); in both your controller
action and your view does it show any data? (make sure you have debug
set to level 1 or above)

And finally, any chance of seeing your view's code?  I assume you're
trying to create a multiple select list?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected]
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