Thanks for asking this, Roman, and thank you, Nancy, for answering!
This saved me a lot of headache.

On May 11, 11:12 pm, Nancy <[email protected]> wrote:
> What I do is save my messages to an array then do an join and setFlash
> to the results of that join.
>                 array_push($messages,'The Rule Exception has been
> saved');
>             $this->Session->setFlash(join('<br/>',$messages));
>
> On May 11, 6:10 am, Roman Brunnemann <[email protected]> wrote:
>
> > Hi,
>
> > short question. I call different methods of a controller on one page
> > request. Most of the functions should write something to the view. I use
> > setFlash for this. But it only shows me the message from the last
> > "setFlash" call. Is there a way to append something to the existing value?
>
> > Thanks a lot.
> > Roman

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to