I have something like this:
package com.project;
public class Events {
static final native void bindEvents() /*-{
$wnd.onresize = [email protected]::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 [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.