Just wondering if this issue has been resolved? I'm having the same
problem with 2.0 RC2.

On Sep 30, 4:46 am, "[email protected]" <[email protected]> wrote:
> Return "Entro" so it goes trough (!empty($this->data)) :-(
>
> Ing. Reynier Pérez Mira
> Cel: +58 416.921.7406
> Correo: [email protected] / [email protected]
>
> On Fri, Sep 30, 2011 at 4:10 AM, Jeremy Burns | Class Outfit <
>
>
>
>
>
>
>
> [email protected]> wrote:
> > Try this:
>
> > if (!empty($this->data)) {
> > $this->Modalidad->create();
> >  if ($this->Modalidad->save($this->data)) {
> > die("Entro");
> > } else {
> >  $this->Session->setFlash('Ocurrieron errores salvando los datos',
> > 'default', array('class' => 'example_class'));
> >  die(debug($this->Modalidad->validationErrors));
> > }
> > /* you don't need to use $this->render(), so get rid of it
> > } else {
> > $this->render();
> >  */
> > }
>
> > Jeremy Burns
> > Class Outfit
>
> > Tel: +44 (0) 208 123 3822
> > Mob: +44 (0) 7973 481949
> > Skype: jeremy_burns
> >http://www.classoutfit.com

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to