Tuesday, 27 August 2013

How to preserve selective faces messages across multiple pages?

How to preserve selective faces messages across multiple pages?

We can ask JSF to keep faces messages intact to show on redirected pages
using flash. But I have a situation, where I have to show a warning
message on all pages in a given session. While I don't want to use flash
because it will keep all the messages, which means even the error messages
on a particular page will be propagated to other pages, where they don't
make any sense. Does anyone know how to selectively retain faces messages?

No comments:

Post a Comment