Tuesday, April 22, 2014

Re: Reload client automatically on server side code update

Are you getting a IncompatibleRemoteServiceException?

In our case, we catch that exception and offer a simple Window.confirm dialog and, if confirmed, reload the page using Window.Location.reload().

I describe our client-side exception handling pattern on Stack Overflow: http://stackoverflow.com/questions/4193373/best-practices-for-gwt-services-exceptions-logging/4725052#4725052

-Andy

On Tuesday, April 22, 2014 7:10:19 AM UTC-4, Varun Jain wrote:
Hi,
   Whenever a new client side patch update happens with update to GWT classes, the generated javascript incompatible causing a client side exception which is resolve when the client reloads the webapp. How can this be handled?

Thanks,
Varun

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment