AW: Timed Java Script Request & Struts? 2007-01-19 - By Peter Neu
Back 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:mbarroso@(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: user-unsubscribe@(protected) > For additional commands, e-mail: user-help@(protected)
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------ To unsubscribe, e-mail: user-unsubscribe@(protected) For additional commands, e-mail: user-help@(protected)
|
|