Wow.., I need to start a S2 project ASAP. This is really cool.
Thanks,
Nuwan.
----- Original Message -----
From: "Musachy Barroso" <mbarroso@(protected)>
To: "Struts Users Mailing List" <user@(protected)>
Sent: Friday, January 19, 2007 2:42 PM
Subject: 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)