0

In primefaces demo page, if you wait enough time for the session to expire without doing anything and then click an ajax button you get the error message:

View Has Expired Message From primefaces showcase

I'm wondering how this mechanism is implemented. Is it possible that they used Fullajaxexceptionhandler of omni faces as an addition to primefaces?

gesus
  • 471
  • 1
  • 10
  • 24
  • 1
    Either you can use FullAjaxExceptionHandler or you can implement such thing yourself. They have their own ExceptionHandling now http://fractalsoft.net/primeext-showcase-mojarra/sections/ajaxerrorhandler/ajaxerrorhandlerDefaultBehavior.jsf;jsessionid=70rrm3k0y89m1n5c6sv3yh43l – Makky Feb 12 '14 at 09:24
  • Is it a pure trivia-hunting question or you ask how to implement something like that yourself? – Danubian Sailor Feb 12 '14 at 10:14
  • I couldn't find how primefaces doing this, an encapsulated module or a workaround. now i see that it's an encapsulated and tested solution which is better then implementing one for myself. – gesus Feb 12 '14 at 15:10

0 Answers0