you can just use the regular setFlash() with the way I have shown to you
2008/3/24, John R <[EMAIL PROTECTED]>:
>
> Ok .. I understand you can call it from the view .. but if you look 4
> posts above, my goal is to call it inside a controller, like you would
> a flash():
>
>
> function checkValid($whatever)
> {
> if (validation logic)
> $this->modal('Success!', 'This is valid!', '/valid');
> else
> $this->modal('FAIL!', 'You are a failure', '/fail');
> }
>
>
> That's the part I am missing .. how do you trigger the action from the
>
> controller?
>
>
> >
>
--
Siegfried Hirsch
hhS - Welserstr. 1 - 81373 München - (089) 5484 3564 - skype:shirsch
Fax +49 - (0)89 - 943 992 698 - http://www.rss-blogger.de
http://www.newsbee.de NewsBee 2 - customized RSS solutions
Ihre Abos verwalten und kündigen mit http://abo-stop.de
--~--~---------~--~----~------------~-------~--~----~
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?hl=en
-~----------~----~----~----~------~----~------~--~---