Re: setflash edit

2011-01-15 Thread lvdb
Hello Dr. Loboto, Thank you, it works. Leo On 13 jan, 02:34, "Dr. Loboto" wrote: > You see page cached by browser when hit "previous" button there. > Disable cache at all by $this->disableCache() in controller, or do not > use "previous" button. > > On 13 янв, 02:14, lvdb wrote: > > > > > Hel

Re: setflash edit

2011-01-12 Thread Dr. Loboto
You see page cached by browser when hit "previous" button there. Disable cache at all by $this->disableCache() in controller, or do not use "previous" button. On 13 янв, 02:14, lvdb wrote: > Hello Amit, > > Thank you for your reply. > I will try to explain it > > First I am editing a record in th

Re: setflash edit

2011-01-12 Thread lvdb
Hello Amit, Thank you for your reply. I will try to explain it First I am editing a record in the edit view. When I save the record it redirects me to the index view and give a message "Job has been updated". Second step is I go to the detail view and check the details after that I go back to the

Re: setflash edit

2011-01-11 Thread Amit Badkas
Hi, As I already mentioned "You don't need to delete flash message in session explicitly, $this->Session->flash() does it automagically.", the message doesn't appear after page refresh. In the first message you mentioned "But when I go after the edit to the details view and back to the index view

Re: setflash edit

2011-01-11 Thread lvdb
Hello Amit, Thank you for your answer. When I refresh the view page the message is gone. It is not done automatically. How can I refresh the page? Leo On 10 jan, 07:31, Amit Badkas wrote: > Hi, > > Does the details page output flash message? You don't need to delete flash > message in session e

Re: setflash edit

2011-01-09 Thread Amit Badkas
Hi, Does the details page output flash message? You don't need to delete flash message in session explicitly, $this->Session->flash() does it automagically. Amit Badkas PHP Applications for E-Biz: http://www.sanisoft.com On Sat, Jan 8, 2011 at 1:13 AM, lvdb wrote: > Hello, > > I have made a

setflash edit

2011-01-07 Thread lvdb
Hello, I have made a flash message "your job has been updated". When I edit a job and have been redirected to the index view the message appears (and after 3 seconds it hides). This is working fine. But when I go after the edit to the details view and back to the index view it gives me the message