Why do I get "Cannot make a qualified reference to the static method ..." when that method is being only called in JSNI?
I have something like this:
package com.project;
public class Events {
static final native void bindEvents() /*-{
$wnd.onresize = this.@com.project.Events::resize();
}-*/;
private static final void resize() {
...
}
}
the bindEvents is called in onModuleLoad.
When I compile the project I get the error "Cannot make a qualified
reference to the static method resize", how can I fix this?
thanks.
--
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