Hi mates,
I Have an Ajax call on my delete method. If I put 'blah' in $data it is
rendered.
If I replace it with $this->Slideshow->findAll(), nothing happens anymore.
The view is not rendered.
//is being rendered
function delete($id)
{
if ($this->Slideshow->del($id))
{
$this->set('data', 'blah');
$this->render('delete', 'ajax');
}
}
//no rendering
function delete($id)
{
if ($this->Slideshow->del($id))
{
$this->set('data', $this->Slideshow->findAll());
$this->render('delete', 'ajax');
}
}
Any ideas ? could it be a cake bug or is it expected ?
olivvv
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/cake-php
-~----------~----~----~----~------~----~------~--~---