2. According to the GWT doco, these HostedModeException only occur in Dev mode, and never thrown in production mode. So what happens when running in Production Mode?
This is because in production mode you are running only JavaScript and javascript don't do typecheck. In dev mode the error happens because it must convert the returned value (undefined in this case) to a valid Java type (int in this case).
Here is all the code for my class:
André Moraes
Analista de Desenvolvimento de Sistemas
andrebq@gmail.com
http://andredevchannel.blogspot.com/
--
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+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
No comments:
Post a Comment