Log message #2299866

# At Username Text
# Sep 22nd 2011, 11:15 ujjain Do you guys think that leaving away the submit-button in a search form would be confusing? (http://www.0900alternatief.net/ - the search button is too low, but I am not sure how I should make it prettier.
# Sep 22nd 2011, 11:15 DidItAgain but what I dont get is, why isnt cake updating the record even though id is set?!
# Sep 22nd 2011, 11:14 DidItAgain its not even a working website yet
# Sep 22nd 2011, 11:13 fenix` is there a better way of transporting data between controllers than session->write/read?
# Sep 22nd 2011, 11:13 DidItAgain I understand in cake conventions are required to make good end results
# Sep 22nd 2011, 11:12 fenix` yeah thats the format im used to seeing.
# Sep 22nd 2011, 11:12 dakota form helper does data[ModelName][field_name]
# Sep 22nd 2011, 11:12 fenix` ah
# Sep 22nd 2011, 11:11 dakota fenix`: the form helper does
# Sep 22nd 2011, 11:11 dakota DidItAgain: and then a simple $this->InstalledBase->save($this->data); is needed
# Sep 22nd 2011, 11:11 fenix` dakota: does bake do that by default?
# Sep 22nd 2011, 11:11 dakota DidItAgain: to make it easy you name your post variables "data[server]", "data[vendor]", etc.
# Sep 22nd 2011, 11:10 DidItAgain makes sense
# Sep 22nd 2011, 11:10 DidItAgain hmm
# Sep 22nd 2011, 11:10 dakota ~badcake
# Sep 22nd 2011, 11:10 dakota which is different than bad cake
# Sep 22nd 2011, 11:10 dakota ~tell DidItAgain about goodcake
# Sep 22nd 2011, 11:10 dakota ~tell DidItAgain about good-cake
# Sep 22nd 2011, 11:10 DidItAgain hmm
# Sep 22nd 2011, 11:09 dakota oh and don't forget about fat models, thin controllers :)
# Sep 22nd 2011, 11:09 dakota DidItAgain: that is a lot of repetition I see going on there
# Sep 22nd 2011, 11:09 fenix` thats the manual, 9 times out of 10, the answer is in there.
# Sep 22nd 2011, 11:09 dakota ~tell DidItAgain about dry
# Sep 22nd 2011, 11:09 fenix` http://book.cakephp.org/view/876/The-Manual
# Sep 22nd 2011, 11:08 DidItAgain 1.3
# Sep 22nd 2011, 11:08 fenix` DidItAgain: what version of phpcake are you using?
# Sep 22nd 2011, 11:08 dakota DidItAgain: you should read it
# Sep 22nd 2011, 11:08 dakota DidItAgain: it's all in the book
# Sep 22nd 2011, 11:08 DidItAgain oh..
# Sep 22nd 2011, 11:08 fenix` DidItAgain: you should never need $_POST
# Sep 22nd 2011, 11:08 dakota Well, two choices. Either name your fields properly and access via $this->data, or via $this->params['form']
# Sep 22nd 2011, 11:08 DidItAgain that are posted in an AJAX call?
# Sep 22nd 2011, 11:07 DidItAgain how else do I access post variables?
# Sep 22nd 2011, 11:07 dakota why are you using $_POST?
# Sep 22nd 2011, 11:07 fenix` i've solved it, you can't modify $paginate, only assign it a whole new value;
# Sep 22nd 2011, 11:07 DidItAgain post variables?
# Sep 22nd 2011, 11:07 DidItAgain ?
# Sep 22nd 2011, 11:07 dakota wtf
# Sep 22nd 2011, 11:07 dakota DidItAgain: $_POST?
# Sep 22nd 2011, 11:06 ujjain debug($this->data)?
# Sep 22nd 2011, 11:06 DidItAgain anyone has an idea why?!