Log message #114596

# At Username Text
# Aug 9th 2008, 21:53 und3rd0wn What can I do to display the "Missing Controller" errors?? my debug is 2, I think is something in apache.. Can someone help me?
# Aug 9th 2008, 21:51 skua ?
# Aug 9th 2008, 21:51 skua but content doens't show, any ideas
# Aug 9th 2008, 21:50 skua in edit page i make a loop of input where each as an incremental id like echo $form->input( $model.'.'. $i .'.content' ));
# Aug 9th 2008, 21:49 skua i want to edit a list of item in a same edit page. So i send the array of data to $this->data
# Aug 9th 2008, 21:47 JD__ depends on your javascipt library.. I am using EXT JS at the moment, its a bit dirrent. basically build a set of divs.. and a hidden form item 'act' then go divdelete.on click form.act='delete'
# Aug 9th 2008, 21:46 tomas- JD__, ah, i see what youre saying.... well i have an actual form, not just operations on data...
# Aug 9th 2008, 21:45 tomas- JD__, so then i'd do a onClick="form.submit()" ?
# Aug 9th 2008, 21:44 JD__ I don't use actual submit buttons, I make divs and style them - and set the urls to things such as /gallery/delete/86
# Aug 9th 2008, 21:43 jaredhoyt they're all 0000-00....
# Aug 9th 2008, 21:43 jaredhoyt heh, i don't think the 'created' field is setup correctly for articles in the bakery :)
# Aug 9th 2008, 21:43 skua jquery
# Aug 9th 2008, 21:42 tomas- the ones that come with cake...AjaxHelper?
# Aug 9th 2008, 21:42 JD__ what javascript library are you using to do the ajax calls?
# Aug 9th 2008, 21:41 tomas- i think im just going to include hidden fields to set flags of various operations
# Aug 9th 2008, 21:39 tomas- onSubmit='return false'
# Aug 9th 2008, 21:38 tomas- oh, wait i think it doesnt include it because its not actually submitting the form....
# Aug 9th 2008, 21:38 skua tomas multiple update, delete for each rows of entire form ?
# Aug 9th 2008, 21:38 skua )
# Aug 9th 2008, 21:37 adj hopefully i can release LdapAuthable and LdapSyncable when i'm done =)
# Aug 9th 2008, 21:37 adj tahnks
# Aug 9th 2008, 21:37 skua $model->useDbConfig
# Aug 9th 2008, 21:37 adj cool
# Aug 9th 2008, 21:36 skua will be only change in current object of your model
# Aug 9th 2008, 21:36 adj (sorry, my brain is stalling a bit tonight it seems)
# Aug 9th 2008, 21:36 adj or will my changes to $useDbConfig be unnoticed by the parent
# Aug 9th 2008, 21:35 adj _sync() { copy $useDbConfig; copy $this->data; set new $userDbConfig; remap fields; save; set $useDbConfig to old value;}
# Aug 9th 2008, 21:35 tomas- i am trying to use the ajax forms to manage a photo album...i have a "Delete" button in the form and apparently when i debug what '$this->data' contains, it doesnt include a 'submit' button, despite it being there... any idea why, and how i can have multiple submit buttons (one Update, one Delete, etc...)?
# Aug 9th 2008, 21:35 skua i just got to use useDbConfig in behavior last night to manage multiple db with one domains :)
# Aug 9th 2008, 21:34 adj makes sense*
# Aug 9th 2008, 21:34 skua and afterSave() -> change and save
# Aug 9th 2008, 21:34 adj skua: ok. got that. make since
# Aug 9th 2008, 21:34 skua so first let cake making is stuff
# Aug 9th 2008, 21:34 skua the first update/save will be in your new db
# Aug 9th 2008, 21:34 adj it would also have to return the db to what it previously was at the end of _sync() though, or does it?
# Aug 9th 2008, 21:33 skua if you switch db in setup
# Aug 9th 2008, 21:33 skua and you call you _sync() in afterSave
# Aug 9th 2008, 21:33 adj skua: ok. so the db switch needs to take place during the after|before hook, not the setup/cleanup
# Aug 9th 2008, 21:33 skua then a little $model->save( $thevarsofolddata )
# Aug 9th 2008, 21:32 skua where you copy $model->data in a vars, then use $useDbConfig = 'newdb';
# Aug 9th 2008, 21:32 adj exactly