is there a UiBinder equivalent for ImageResource ?

we have this <g:Image resource="" />
but this is of type Image, not ImageResource.

is it possible to get use ImageResource in UiBinder ?
for example use a variablel in place of resource attribute ?

in ui.xml
<g:Image resource="varX"/>

in .java
@UiField
ImageResource varX;

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to