# |
Aug 9th 2008, 22:24 |
JD__ |
I'm having an issue with child objects not prompting the user during create when validation rules are broken I have manually load and validate the child object, which seems pretty clunky http://bin.cakephp.org/saved/35953 anyone know whats going on here? |
# |
Aug 9th 2008, 22:20 |
pyite |
is there a recommended documentation generation program for use w/ cake? (like phpdocumentor as an example?) |
# |
Aug 9th 2008, 22:19 |
flauberts |
me too |
# |
Aug 9th 2008, 22:17 |
JD__ |
flauberts - i think that is an issue with your web server |
# |
Aug 9th 2008, 22:17 |
kalileo |
) never mind |
# |
Aug 9th 2008, 22:16 |
kalileo |
Hi Matt1 ... i haven't asked anything ;) |
# |
Aug 9th 2008, 22:16 |
Matt1 |
kalileo: no idea. |
# |
Aug 9th 2008, 22:13 |
flauberts |
even if the controller exists |
# |
Aug 9th 2008, 22:12 |
flauberts |
"Object not found' |
# |
Aug 9th 2008, 22:10 |
JD__ |
and what exactly does it say when you try it? |
# |
Aug 9th 2008, 22:09 |
flauberts |
firefox, http://localhost/app/ahsdashdkjnas |
# |
Aug 9th 2008, 22:09 |
flauberts |
firefox, http://localhost/app//ahsdashdkjnas |
# |
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 |