Trying to save 1 form containing 2 related models (User and Profile)
 
How do i set up white list of fields when using saveAll?
 
Using ajax so security component checking a modified form is of no use. I
need to specify what fields can be saved so firebuggers adding fields to the
form will server no purpose.
 
I only want a few fields from each to be saved so i need to set up
User.name, User.email, Profile.status, Profile.email
 
Any ideas? I see white list in the Cake Claases page but how to set it up?
 
array( User => array ( all user fileds here? ), Profile => array(all profile
fileds here?));
 
or 
 
array (User.name, User.email, Profile.status, Profile.email);
 
Not very clear on the info there but either way no matter what i try im
having no luck.
 
Thanks
 
Dave

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

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

To unsubscribe, reply using "remove me" as the subject.

Reply via email to