On Saturday, March 26, 2011 8:29:04 PM UTC+1, Adib wrote:
Hello,
I am trying to figure out where the gwt.codesvr parameter gets
processed? I can think of the following options and would like to get
clarity about which of these options in the correct example.
a) Is it used by the browser plugin so that the browser plugin can
talk to the code server
It's the thing that triggers the use of the plugin, so it can't be the plugin that processes it (I guess it could, once loaded, process it, but I believe that's not the case)
b) is it used by the host page in some bootstrap java script. I
find this to be not very likely because there does not seem to be a
bootstrap javascript that is not generated from java code.
Yes it is. It's in the *.nocache.js, which either loads the hosted.html (or hosted.js, depending on the linker) or the appropriate *.cache.html/js.
You can compile in --style PRETTY to have a readable version; and you'll find the templates in com/google/gwt/core/linker in the gwt-dev.jar
c) is there supposed to be a servlet on the server side side that
should be configured to understand this parameter?
No, it's all client-side. GWT is backend-agnostic (with the exceptions of GWT-RPC and RequestFactory, of course, but even those can be –and are!– implemented in non-Java backends)
-- 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