I have two cases of defered binding not working the way I thought it would.
The problem I have is with IE.
1) I have the following rule:
<replace-with
class="com.metaaps.webapps.libraries.client.widget.PasswordTextBoxIE8">
<when-type-is
class="com.metaaps.webapps.libraries.client.widget.PasswordTextBox"/>
<when-property-is name="user.agent" value="ie8" />
</replace-with>
My assumption is that the class would be replaced ONLY for IE8 browsers,
however it is replaced for ALL IE versions.
2) I have the following rule:
<replace-with
class="com.metaaps.webapps.earthimages.client.ui.widget.ResourceWidgetIE9">
<when-type-is
class="com.metaaps.webapps.earthimages.client.ui.widget.ResourceWidget"/>
<any>
<when-property-is name="user.agent" value="ie6"/>
<when-property-is name="user.agent" value="ie8"/>
<when-property-is name="user.agent" value="ie9"/>
</any>
</replace-with>
ResourceWidget is actually a Generic class.
In this case, the ResourceWidget is never replaced by the ResourceWidgetIE9
in the classes that extend ResourceWidget.
Is there any obvious mistake in my rules or any limitations of defered
binding I overlooked?
Thanks,
Thomas
--
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.