1
votes

for exception handling of my JSF pages I'm using the FullAjaxExceptionHandler (thanks, BalusC ;-) ). The error handling works, but for some reasons I'm not able to redirect to a toplevel. I.e., the exception occurs in an iFrame (yes, I know that I shouldn't use it...) and the error page is displayed in this frame. How can I redirect to a toplevel page? With ?faces-redirect=true nothing happens.

TIA,

Ralf.

1

1 Answers

0
votes

The JSF Exception Handler does not actually send a redirect, but simply displays the error page instead of the requested page, so this cannot work.

Instead, you could place some JavaScript on the error page (see, e.g., here) that redirects the top window to some other URL which contains your real error page.