[Seaside] [2.8] Expiring ajax handlers

Carl Gundel carlg at libertybasic.com
Thu Apr 22 02:01:49 UTC 2010


I'm trying to produce some sort of notice to my users when ajax handlers expire in my application.  I saw some code in a post similar to what I'm trying to use below:

self sessionCache addLoadScript:
	(html scriptaculous responders
      	 onFailure: (html javascript alert: 'Session Expired') , 
                  (html javascript refresh))

This is added to the end of my renderContentOn: method for the application page.  It doesn't seem to work, and in fact it produces the following error in my web browser.

'Ajax' is undefined

Any ideas?

Thanks,

-Carl Gundel
http://www.runbasic.com


More information about the seaside mailing list