Hi,
I would like to create a custom callback that is an integration with
the other js tool called GPSGate.
The code is that:
....
final GpsInfoCallback gpsInfoCallback = new
GpsInfoCallback()
{
public void receiveGpsInfo() {
messageLabel.setText("Received");
}
};
...
gpsGateClient.getGpsInfo(gpsInfoCallback);
...
The problem is that the type of gpsInfoCallback is generated as an
empty type:
...
gpsInfoCallback = new hu_neuron_gwt_gpsgate_client_GpsInfoEntryPoint
$1();
...
function hu_neuron_gwt_gpsgate_client_GpsInfoEntryPoint$1(){
}
...
It causes JSNI error because there is no method 'receiveGpsInfo'.
In addition, the gpsGateClient implementation is a native one. It look
fine.
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
-~----------~----~----~----~------~----~------~--~---