Re: GWT.isClient() always return true
Returns true when running inside the normal GWT environment, either in hosted mode or web mode. Returns false if this code is running in a plain JVM. This might happen when running shared code on the server, or during the bootstrap sequence of a GWTTestCase test. I am sorry, My question is : if i deploy a GWT application to tomcat, GWT.isClient() will return true or false? On May 15, 10:48 pm, Olivier Monaco olivier.mon...@free.fr wrote: Hi, Great programmers write docs, like JavaDoc. Please respect their work by reading it. http://www.catb.org/~esr/faqs/smart-questions.html#before Olivier On 15 mai, 15:53,fonghuangyeefonghuang...@gmail.com wrote: Hi, I dun know why GWT.isClient() always return true even in web mode. Please advise, thanks. -- 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 athttp://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 athttp://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.
Re: GWT.isClient() always return true
When deployed to tomcat as javascript, it will always return true. --Sri On 16 May 2010 20:38, fonghuangyee fonghuang...@gmail.com wrote: Returns true when running inside the normal GWT environment, either in hosted mode or web mode. Returns false if this code is running in a plain JVM. This might happen when running shared code on the server, or during the bootstrap sequence of a GWTTestCase test. I am sorry, My question is : if i deploy a GWT application to tomcat, GWT.isClient() will return true or false? On May 15, 10:48 pm, Olivier Monaco olivier.mon...@free.fr wrote: Hi, Great programmers write docs, like JavaDoc. Please respect their work by reading it. http://www.catb.org/~esr/faqs/smart-questions.html#before Olivier On 15 mai, 15:53,fonghuangyeefonghuang...@gmail.com wrote: Hi, I dun know why GWT.isClient() always return true even in web mode. Please advise, thanks. -- 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 athttp:// 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-toolkit@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 athttp:// 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.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.
Re: GWT.isClient() always return true
Thanks! On May 16, 11:18 pm, Sripathi Krishnan sripathi.krish...@gmail.com wrote: When deployed to tomcat as javascript, it will always return true. --Sri On 16 May 2010 20:38, fonghuangyee fonghuang...@gmail.com wrote: Returns true when running inside the normal GWT environment, either in hosted mode or web mode. Returns false if this code is running in a plain JVM. This might happen when running shared code on the server, or during the bootstrap sequence of a GWTTestCase test. I am sorry, My question is : if i deploy a GWT application to tomcat, GWT.isClient() will return true or false? On May 15, 10:48 pm, Olivier Monaco olivier.mon...@free.fr wrote: Hi, Great programmers write docs, like JavaDoc. Please respect their work by reading it. http://www.catb.org/~esr/faqs/smart-questions.html#before Olivier On 15 mai, 15:53,fonghuangyeefonghuang...@gmail.com wrote: Hi, I dun know why GWT.isClient() always return true even in web mode. Please advise, thanks. -- 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%2Bunsubs cr...@googlegroups.com . For more options, visit this group athttp:// 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-toolkit@googlegroups.com . To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2Bunsubs cr...@googlegroups.com . For more options, visit this group athttp:// 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.comgoogle-web-toolkit%2Bunsubs cr...@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 athttp://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.
Re: GWT.isClient() always return true
Hi, Great programmers write docs, like JavaDoc. Please respect their work by reading it. http://www.catb.org/~esr/faqs/smart-questions.html#before Olivier On 15 mai, 15:53, fonghuangyee fonghuang...@gmail.com wrote: Hi, I dun know why GWT.isClient() always return true even in web mode. Please advise, thanks. -- 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 athttp://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.