Log message #2300609

# At Username Text
# Sep 22nd 2011, 17:15 delfis )
# Sep 22nd 2011, 17:15 delfis TooMuchCaffeine thank you
# Sep 22nd 2011, 17:15 TooMuchCaffeine that would set correct nesting for saveall
# Sep 22nd 2011, 17:14 TooMuchCaffeine and next record would be 'ModelName.1.id
# Sep 22nd 2011, 17:14 scoutmstershke delfi http://bin.cakephp.org/view/1245950997
# Sep 22nd 2011, 17:14 TooMuchCaffeine input('ModelName.0.id');
# Sep 22nd 2011, 17:13 delfis for id example
# Sep 22nd 2011, 17:13 delfis $this->Form->input('what now?
# Sep 22nd 2011, 17:13 delfis id
# Sep 22nd 2011, 17:12 TooMuchCaffeine set value?
# Sep 22nd 2011, 17:12 delfis don`t know how to set ID
# Sep 22nd 2011, 17:11 delfis echo $this->Form->input('[0]id', array('type' => 'hidden'));
# Sep 22nd 2011, 17:11 delfis well
# Sep 22nd 2011, 17:11 scoutmstershke then*
# Sep 22nd 2011, 17:11 TooMuchCaffeine delfis: define normal
# Sep 22nd 2011, 17:11 scoutmstershke delfis pass the data with form that manipulate the data in your model or controller
# Sep 22nd 2011, 17:10 TheWarden scoutmstershke: ahhh your hitting on something I did wrong?
# Sep 22nd 2011, 17:10 delfis but how to create normal form in view?
# Sep 22nd 2011, 17:10 delfis i know how the data should be to saveAll
# Sep 22nd 2011, 17:10 TheWarden hi
# Sep 22nd 2011, 17:10 delfis i want to edit 3 records at a time
# Sep 22nd 2011, 17:10 scoutmstershke olleh
# Sep 22nd 2011, 17:10 delfis hello
# Sep 22nd 2011, 17:09 TheWarden scoutmstershke: take a look at the updated model, http://bin.cakephp.org/view/1605036614
# Sep 22nd 2011, 17:09 scoutmstershke The Warden take a look at http://book.cakephp.org/view/1058/useDbConfig#!/view/1043/hasMany
# Sep 22nd 2011, 17:09 TheWarden ACTION goes off into hidding
# Sep 22nd 2011, 17:08 scoutmstershke thats was on fox news last night lol
# Sep 22nd 2011, 17:07 TooMuchCaffeine wow. i have a strong feeling of deja-vu. and i think it was the warden and model::save episode
# Sep 22nd 2011, 17:07 TheWarden diverdude: yeah that is a tough one and I'm don't know enough unfortunately to help you. sorry. Check your php.ini memory related settings they may need to be set higher other that that I don't know.
# Sep 22nd 2011, 17:07 scoutmstershke do you have foreignkey set in your has many array?
# Sep 22nd 2011, 17:07 scoutmstershke should be fine there
# Sep 22nd 2011, 17:07 scoutmstershke ok then thats correct
# Sep 22nd 2011, 17:06 TheWarden scoutmstershke: okay well that is the case then as my primary key of dongle_keys is id which is linked to dongle_keys_hardwares.dongle_keys_id.
# Sep 22nd 2011, 17:06 diverdude TheWarden, yep...i had it also when doing other types of programming...but never in php...And especially since i am running cake script and not my own code
# Sep 22nd 2011, 17:05 scoutmstershke your primary key needs to me the key of the current model that you want to use to link to the (field your matching)foriegn key of the model you trying to link
# Sep 22nd 2011, 17:05 TheWarden diverdude: just saying that if you are getting that its not a good sign and no I haven't had it with cake but have with other issues relating to memory.
# Sep 22nd 2011, 17:05 TooMuchCaffeine robcowie: all you had to do it look at source )
# Sep 22nd 2011, 17:05 robcowie thanks, that is what I needed to know
# Sep 22nd 2011, 17:04 diverdude TheWarden, me?
# Sep 22nd 2011, 17:04 TheWarden scoutmstershke: am I right?
# Sep 22nd 2011, 17:04 TooMuchCaffeine robcowie: afair saveAll only works with linked models. direct links. deeper associations are not saved