# |
Aug 9th 2008, 22:05 |
JD__ |
what is the url? does it end with an extension? are you using internet explorer? it sometimes tries to guess the mime types and screws up |
# |
Aug 9th 2008, 22:04 |
JD__ |
Its not ther eby default you have had to put it there |
# |
Aug 9th 2008, 22:03 |
flauberts |
RequestHandler? |
# |
Aug 9th 2008, 22:03 |
flauberts |
where can i check this? |
# |
Aug 9th 2008, 22:03 |
flauberts |
I have the default setting of cake, I´ve created only one controller... |
# |
Aug 9th 2008, 22:03 |
JD__ |
Are you using the RequestHandler? |
# |
Aug 9th 2008, 22:02 |
flauberts |
the browser show me "Invalid Objetc" ... "check if the the url was typed correctly..." |
# |
Aug 9th 2008, 22:01 |
JD__ |
then it shoudl load from the one in the cake directory - check your routes.php to make sure the url is mapped to a controller |
# |
Aug 9th 2008, 22:00 |
jaredhoyt |
lol, i never took a computer class that taught you how to version your software... i'm not sure what to call the new version of my component. 1.2? |
# |
Aug 9th 2008, 22:00 |
flauberts |
there is nothing on this directory... |
# |
Aug 9th 2008, 22:00 |
JD__ |
oops i was wrong debug 1 or higher will show missing controller. it should be a matter of changing app/views/errors/missing_controller.ctp |
# |
Aug 9th 2008, 21:59 |
JD__ |
und3rd0wn check app/views/errors/missing_controller.ctp I dont think it matters what debug level you are at |
# |
Aug 9th 2008, 21:58 |
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:54 |
tomas- |
hmm, i just keep the submit button and have it do an onClick="$('hiddenField').value = 1;" |
# |
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;} |