Hi All,

We are upgrading from 1.4 to 2.0 and I would like to share this experience
with you.
First of all, the site is flying! Congrats and thank you GWT Team.

The only problem we faced so far was a strange RPC behavior when the call
was
launched from a  NativePreviewHandler. Our site registered a EventPreview to
handle
keyboard events like Escs and Arrows even when there was no FocusWidget
selected.

In some situations, when the user sends a Escape to close a popup window,
the
Widget under that popup makes a RPC to redraw it self.

After changing from EventPreview to NativePreviewHandler the RPC begin to
fail with a
StatusCodeException. There was no server side error. I even wrote
a doUnexpectedFailure
method to see if there was an error that our app was not registering, but it
was never
call.

The solution was to encapsulate the RPC in a DeferredCommand. Now everything
is working
and faster then before.

Question. Even specifying one locale and one user.agent the gwt Compiler
compiles 2 permutation. Is this the minimum number of permutations
produced by the compiler? What else can be done to accelerate compiler
time during development?

Best regards,
Freller
--
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.

Reply via email to