Re: editing a model and relational fields within a single form - is this possible?

2007-01-17 Thread Sam Sherlock
thanks that helped me in the right direction I had to read the datum into the data array inside the edit action of the article controller its working with the following $this->data = $this->Article->read(null, $id); $this->data = $this->Articledatum->read(null, $id); howe

Re: editing a model and relational fields within a single form - is this possible?

2007-01-17 Thread georgeL
updating of the related fields is done by: 1. in you form name the fields like the related model input('Article/name') input('Topic/name') 2. when this is submitted you must save the depending model data too $this->Article->save($this->data) $this->Topic->save($this->data) if you want to chec

editing a model and relational fields within a single form - is this possible?

2007-01-17 Thread Sam Sherlock
I have a model article with all the article metadata and another model articledata which has the various pages of the article I am adapting the models/controller/views created by a previous bake (and since stuffed up my command line php config, articledata was added to the db post bake) so I ha