0 Replies Latest reply on Nov 11, 2010 2:58 PM by John Bailo

    Using the a4j timeout event

    John Bailo Master

      I configured a timeout in web.xml and now want to be able to redirect to a specific page once timeout is reached.


      From this article I am told I can use this in my jsp/jsf page:





      <script language="javascript">
      A4J.AJAX.onExpired = function(loc, expiredMsg){
      window.location = "/login.jsf";


      This code doesn't make sense to me (or Eclipse) and it throws an error when running JBoss.

      Can someone confirm what is the proper way in Richfaces to handle a timeout event?