> QUESTION: Is it possible to define a file for 'unknwon' useragents?
>
> It is possible for the GWT compiler to generate another permutation of your
> application for additional user agents, but they would have to be known. You
> can do this via a property provider. But first, I'm wondering which browsers
> your clients are using such that the user agent couldn't be resolved.
Hi Summit
Well, he was using a Firefox with a lot of plug-ins, some of them
might change the User-Agent string.
I do not expect, that the application will work with this browser, but
I assumed
that he will get a nice error message, if the browser is not
supported.
GWT generates a
try {
unflattenKeylistIntoAnswers(['default', 'gecko1_8'],
'278A6CEE55E17277BC30FF22BE7EC49F');
....
strongName = answers[computePropValue('locale')][computePropValue
('user.agent')];
}
catch (e) {
return;
}
which results in an empty page.Is there a way to provide a nice error
message to the user without changing the generated JavaScript code?
> This is the first time I've heard of this problem. I think this could be
> related to the browser that your clients are using. I'm wondering if it's in
> the list of GWT supported browsers.
As I said, this is not really reproducible. Yes, the browser(s) are on
the list of supported browsers.
Case 1:
They tried Firefox and IE 6 on Windows. Didn't work, they got an empty
page. Rebooting the client
machine fixed the problem. So, no blame on GWT here, but I'm trying to
understand what happens..
Case 2: Different versions of Firefox and IE on Windows. Some of them
worked, some not. Without
rebooting the client machine, I added "$doc.location.href += '#'; " on
the server side and all browsers
worked fine.
I'm not sure what happend here, maybe both cases are cache problem on
the client side.
Greetings
Mirko
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---