Tuesday, March 20, 2012

Chrome deferred binding issue

Hello,

I am having a problem with deferred binding for Chrome.

This is an extract from my gwt.xml module definition:-

<replace-with
class="org.drools.guvnor.client.widgets.decoratedgrid.CellHeightCalculatorImplSafari">
<when-type-is
class="org.drools.guvnor.client.widgets.decoratedgrid.CellHeightCalculatorImpl"/
>
<when-property-is name="user.agent" value="safari"/>
</replace-with>
<replace-with
class="org.drools.guvnor.client.widgets.decoratedgrid.CellHeightCalculatorImplIE">
<when-type-is
class="org.drools.guvnor.client.widgets.decoratedgrid.CellHeightCalculatorImpl"/
>
<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>
<replace-with
class="org.drools.guvnor.client.widgets.decoratedgrid.CellHeightCalculatorImpl">
<when-type-is
class="org.drools.guvnor.client.widgets.decoratedgrid.CellHeightCalculatorImpl"/
>
</replace-with>

This works well for FF and IE but Chrome has the default
CellHeightCalculatorImpl instantiated.

Any pointers to what I am doing wrong?

GWT2.3, Chrome 17.0.963.46.

With kind regards,

Mike

--
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.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate