Hi,
I am trying to write some general way to handle application errors with JSF.
I understand application error as error after that user redirected to
some error page.
In my implementation application error is FacesMessage with SEVERITY_FATAL.
I have wrote ApplicationErrorsSupervisor, see code
Hi!
But after redirecting to errors.faces all messages are discarded. And
therefore user doesn't see his fatal error. How can I using JSF add
all messages to view to redirect?
See the tomahawk sandbox RedirectTracker stuff [1].
Correctly configured it will make the messages available after a
Sorry, maybe I am ambiguous. I mean changing navigation flow using
getNavigationHandler().handleNavigation() but not really redirect with
context.getExternalContext().redirect(error.faces);
Should I use RedirectTracker also for handleNavigation?
Thanks
On 7/19/07, Mario Ivankovits [EMAIL
Hi,
I resolve similar problem by next MessagesPhaseListener and saving
message text into session bean:
1. Create class MessagesPhaseListener
--
public class MessagesPhaseListener implements PhaseListener {
public MessagesPhaseListener() {
}
public PhaseId
Hi!
Sorry, maybe I am ambiguous. I mean changing navigation flow using
getNavigationHandler().handleNavigation() but not really redirect with
context.getExternalContext().redirect(error.faces);
Should I use RedirectTracker also for handleNavigation?
The RedirectTracker will handle every
5 matches
Mail list logo