Re: replace-with and when-property-is . . using it based on browser / user.agent value?
User agent values can be found in UserAgent.gwt.xml in gwt-user.jar (https://code.google.com/p/google-web-toolkit/source/browse/trunk/user/src/com/google/gwt/useragent/UserAgent.gwt.xml)
Firefox is "gecko1_8" (the name of the rendering engine of Firefox).
Also, you must use GWT.create(MultiplierAdjustment.class) instead of new MultiplierAdjustment(). Generators and deferred binding are only triggered when using GWT.create().
-- J.
-- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/ESaW7evfJh8J.
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.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home