Re: replace-with and when-property-is . . using it based on browser / user.agent value?

2012-11-26 Thread King_V
Thanks - that did the trick! -- 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/-/CK9UxsdOnPcJ. To post to this group, send email to google-web-tool

Re: replace-with and when-property-is . . using it based on browser / user.agent value?

2012-11-21 Thread Jens
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(Multiplier

Re: replace-with and when-property-is . . using it based on browser / user.agent value?

2012-11-21 Thread Alberto Mancini
Hi, probably RichText.gwt.xml in com.google.gwt.user may help you, I think the following is the relevant part: Ciao, Alberto. On Wed, Nov 21, 2012 at 11:28 PM, King_V wrote: > All, > > I've seen a few examples where there is talk of substituting a class based > on which br

replace-with and when-property-is . . using it based on browser / user.agent value?

2012-11-21 Thread King_V
All, I've seen a few examples where there is talk of substituting a class based on which browser is involved. So, I want to have one version of a class for Firefox, and one for everything else. I've tried the following, taken from examples I've found online: