I have an h:messages element and it works great up until I add the following annotation
@End(beforeRedirect=true)
I have to have this annotation, or the next page does a query with the mgr that was in the conversation which screws things up as it gets bad data. As soon as I add this, my statement below stops working as the h:messages displays nothing....
facesMessages.add("Script "+script.getName()+" successfully saved");
Any ideas? I am considering a work around where I outject a message into the session and then have the next page go and get that but that is quite a hack. I would think h:messages should work.