IE7 Reloads the GWT Application some times for a new History Token

24 views
Skip to first unread message

Srini Marreddy

unread,
Jun 11, 2008, 4:50:59 PM6/11/08
to Google Web Toolkit
IE7 On windows XP is reloading the whole GWT Application for History
Changes some times( Adding new Token to History).It is not consistent.
( It happens randomly ).The history mechanism works fine in FireFox.
I am not sure what is causing IE to reload the application. I have
found following thread related to this problem.

http://groups.google.com/group/Google-Web-Toolkit-Contributors/browse_thread/thread/97a74385c586a940/202d926efba1dcf1

Anyone got similar problem with IE7?. I appreciate your help on this.

Thanks,
Srini

Srini Marreddy

unread,
Jun 12, 2008, 11:26:35 AM6/12/08
to Google Web Toolkit
I have applied FIX mentioned in the below link. That fixed the Reload
problem.

http://groups.google.com/group/Google-Web-Toolkit-Contributors/browse_thread/thread/97a74385c586a940/202d926efba1dcf1

I have applied following FIX to HistoryImplIE6.java . IE7 on XP now
dont reload my GWT application anymore for history token changes.

Change HistoryImplIE6.java
In place of :

if ($wnd.__gwt_historyToken && (token !=
$wnd.__gwt_historyToken)) {
$wnd.location.reload();
}

write:

if (($wnd.__gwt_historyToken != undefined) && (token !=
$wnd.__gwt_historyToken)) {
$wnd.__gwt_historyToken = token;
}

-Srini



On Jun 11, 3:50 pm, Srini Marreddy <srmarre...@gmail.com> wrote:
> IE7 On windows XP is reloading the whole GWT Application for History
> Changes some times( Adding new Token to History).It is not consistent.
> ( It happens randomly ).The history mechanism works fine in FireFox.
> I am not sure what is causing IE to reload the application. I have
> found following thread related to this problem.
>
> http://groups.google.com/group/Google-Web-Toolkit-Contributors/browse...
Reply all
Reply to author
Forward
0 new messages