My code is set up like https://www.primefaces.org/showcase/ui/misc/exceptionHandler.xhtml (only 1 button for ajax "throw view expired" implemented) and when I press that button, the dialog correctly pops up.
p:ajaxExceptionHandler is registered for 2 types, 1) javax.faces.application.ViewExpiredException, 2) java.lang.Throwable
But when I wait until view actually expires and press the SAME button, no dialog pops up. Browser debug tells me the ajax reponse is:
<?xml version='1.0' encoding='UTF-8'?>
<partial-response id="j_id1"><changes>
<update id="j_id1:javax.faces.ViewState:0">
<![CDATA[6471455189255501776:-1615342152081763452]]>
</update></changes></partial-response>
What can go wrong?