I've searched the forum, but can't find a way to do this. Is there a
way I can display a message to the user if their browser does not
support GWT. I assume it would have to be in the HTML page, because GWT
won't load, but do I manually have to check for unsupported browsers
myself?
cheers,
Russell
<head>
...
<meta name="gwt:onPropertyErrorFn" content="unsupported" />
<script type="text/javascript">
<!--
// Called when GWT is not supported
function unsupported() {
// Do your thing here
}
//-->
</script>
...
</head>
Thanks,
Eric
I've tried putting this right next to the meta declaration of my
module, and before and after the include of gwt.js - but no popup. Am I
missing something? I even tried moving it out of my JSP page and into a
simple HTML file, but still no luck.
Rusty
Thanks,
Eric
I ended up writing my own browser detection code because I couldn't get
the above to work. Thanks for you help all the same.
Rusty
p.s. My suspicion is that it doesn't work because IE 5 doesn't like the
gwt.js that you're trying to load. I'm fairly certain of this because
no matter what GWT app you try to run (kitchen sink off the Google
site, or your own, you get a script error on line 431 and no GWT loads)
It was great actually because it helped me convince the client to go to
firefox
so why is anyone still running ie 5 anyway ??
In the real world when you're making web sites for a company which in
turn has 1000's of clients, it's a bit much to be dictating to them
which browser they should be using. That's why in this case I've just
made a small part of the site in GWT, which the IE5 people won't be
able to use, while they can still use the rest of the site.