I have a datatable containing values. On row click I display the description of that particular record.
In this page there is an update button, when the user clicks update he is directed to different page having the same fields but with some of them editable and a save and cancel button
If user enters some value and clicks save, and the update is successfull then the previous page needs to be shown with the success message.
For this,I had added error message to FacesContext from update action method, but the message never got displayed. I guess this is due to the fact that different FacesContext instance gets created after action method is returned due to forward or sendRedirect.