Does someone have a hint I am going no where with that thing ...

Here is the LoginPanel.ui.xml:

<ui:style type="my.client.LoginPanel.LoginStyle">
@sprite .logo {
gwt-image: "googleIcon";
vertical-align: middle;
}
</ui:style>

<g:Anchor ui:field="googleAnchor" styleName="{style.logo}">Google</g:Anchor>



And the code in the associated LoginPanel.java:

public interface LoginStyle extends CssResource {
String logo();
}
@UiField LoginStyle style;
public interface Resources extends ClientBundle {
@Source("images/Google32.png") 
ImageResource googleIcon();
} 
Resources res; 


But I got :
Unable to find ImageResource method value("googleIcon") in 
my.client.LoginPanel_BinderImpl_GenBundle : Could not find no-arg method 
named googleIcon in type my.client.LoginPanel_BinderImpl_GenBundle

-- 
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+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to