I'm Using Struts 1.x. So if there is no guaranteed reload of the page there is no way to implement a timer? Meaning: I would have to test validity prior to each submitted request. :o(
-Pete > -----Ursprüngliche Nachricht----- > Von: Musachy Barroso [mailto:[EMAIL PROTECTED] > Gesendet: Freitag, 19. Januar 2007 15:42 > An: Struts Users Mailing List > Betreff: Re: Timed Java Script Request & Struts? > > If you are using S2, you can also use Dojo's Timer: > > http://dojotoolkit.org/api/#dojo.lang.timing.Timer > > regards > musachy > > Peter Neu wrote: > > Hello, > > > > > > > > in one of my endless attempts to fight the evil browser backward button > > mechanism I was thinging about this: > > > > > > > > Can I make a periodic java script (ajax) request to determine when a > user > > hit the evil button and tries to work > > > > a page that is not current anymore? Say the user hit the back button and > now > > resides on the "wrong" page > > > > I make a hidden ajax request and determine he is in the wrong pace. Then > I > > give him a notice and send him back > > > > to the right place. > > > > > > > > Is this possible? How would I make the periodic request? > > > > > > > > Cheers, > > > > Pete > > > > > > > > > > > > > > > > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]