Re: GWT issue when browser offline
Hey I know that in offline mode the browser doesn't access server, what I was asking is how will the user know about this, by user I mean the end user and not the developer. Anyways I think I will go as per Sripathi explained by having a centralized error handling. - Abdullah On Tue, May 11, 2010 at 12:19 AM, Sorinel C scristescu...@hotmail.comwrote: There is no solution here ...in offline mode the browser doesn't access server and obviously the client RPC calls fail. t So, enable the browser online and your application will be alive and kicking. More GWT hints you can find here: http://ui-programming.blogspot.com/ Cheers! -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
GWT issue when browser offline
If the browser is in offline mode, then for the html/normal website the browse would display the message that its on offline mode but in case of GWT application the GWT-RPC/XHR calls would simply fail and the user won't come to know what's wrong. Had anybody encountered this ? any solution ? - Abdullah -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: GWT issue when browser offline
There is no solution here ...in offline mode the browser doesn't access server and obviously the client RPC calls fail. So, enable the browser online and your application will be alive and kicking. More GWT hints you can find here: http://ui-programming.blogspot.com/ Cheers! -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: GWT issue when browser offline
Use a centralized error handling mechanismhttp://groups.google.com/group/google-web-toolkit/msg/1bedbd5e5284a77b, catch InvocationTargetExceptionhttp://google-web-toolkit.googlecode.com/svn/javadoc/1.6/com/google/gwt/user/client/rpc/InvocationException.htmland show a message to the user like gmail does. You may also want to set a timeout to your RPC calls (the default is no timeout) and catch the RequestTimeoutExceptionhttp://google-web-toolkit.googlecode.com/svn/javadoc/2.0/index.html?overview-summary.html . In general, if your error handling code is all over the place, you will have difficulty in implementing such a feature. Consolidate error handling, and it becomes very easy to add a Check your network connection message. --Sri On 11 May 2010 00:19, Sorinel C scristescu...@hotmail.com wrote: There is no solution here ...in offline mode the browser doesn't access server and obviously the client RPC calls fail. So, enable the browser online and your application will be alive and kicking. More GWT hints you can find here: http://ui-programming.blogspot.com/ Cheers! -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.