Re: Showing errors in Comment submission on the same page as Post

2006-06-24 Thread DJ Spark
Probably you might use requestAction in your articles 'view' function requestAction('/comments/add'); requestAction('/comments/index''); and, in the comments add function, use redirect() to go back to the Article page ... (just like the default delete() function) , using getReferrer(); from th

Re: Showing errors in Comment submission on the same page as Post

2006-06-23 Thread Kit
This tutorial might be of assistance, or at least head you in a possible direction. http://wiki.cakephp.org/tutorials:flashing --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group

Re: Showing errors in Comment submission on the same page as Post

2006-06-23 Thread John David Anderson (_psychic_)
> At tips in the right direction preferably with code samples would be > appreciated Samples of code that you're already using would be helpful in trying to get an answer. -- John --~--~-~--~~~---~--~~ You received this message because you are subscribed to th

Re: Showing errors in Comment submission on the same page as Post

2006-06-23 Thread ..
Bump Can anyone just confirm that this is not possible? or I am plain crazy in wanting to do this .. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-

Showing errors in Comment submission on the same page as Post

2006-06-21 Thread ..
Hello All, Pardon me if this has been asked before. After experimenting with the Blog tutorial I added a comments model - the association etc worked fine and I can show all the comments on the same page as the post. Next I added a Form for adding comments in the same view as post using the html