CssResource + Custom Deferred Binding?
Is it possible to use CssResource @eval with a static method AND
deferred binding? As you can guess, this isn't working so far, but
I've never tried my own deferred binding before, so I may be missing a
step.
I am trying to do something like this:
<replace-with class="com.mycompany.client.ui.CssGradientUtil">
<when-type-is class="com.mycompany.client.ui.CssGradientUtil"/>
</replace-with>
<replace-with class="com.mycompany.client.ui.CssGradientUtilIE7">
<when-type-is class="com.mycompany.client.ui.CssGradientUtil"/>
<when-property-is name="user.agent" value="ie6" />
</replace-with>
--------------------------------------
Css or UiBinder class:
@eval mybuttonGradient
com.mycompany.client.ui.CssGradientUtil.getLinearGradient("#a0d8fb","#55afea");
.myButton{
background: #a0d8fb;
background: mybuttonGradient;
}
--
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