Project

General

Profile

Actions

Bug #3892

open
EV KD

Bug in clicked method of WGoogleMaps?

Bug #3892: Bug in clicked method of WGoogleMaps?

Added by Ewout VE over 11 years ago. Updated over 11 years ago.

Status:
InProgress
Priority:
Normal
Assignee:
Category:
-
Target version:
Start date:
03/13/2015
Due date:
% Done:

0%

Estimated time:

Description

When I try to create a new GoogleMaps object and assign it a clicklistener, I get the following error when I try to click in the GoogleMaps window:

ERROR eu.webtoolkit.jwt.WebSession - decodeSignal(): signal 'o4b82f832.click' not exposed

I would've expected to see my string "Here" to be printed.

This is the code I've used:

public class WGoogleMapsTest extends WApplication {
public WGoogleMapsTest(WEnvironment env) {
super(env);
WGoogleMap wGoogleMap = new WGoogleMap(getRoot());
wGoogleMap.resize(500, 500);
wGoogleMap.clicked().addListener(this,
new Signal1.Listener<WGoogleMap.Coordinate>() {
public void trigger(WGoogleMap.Coordinate c) {
System.out.println("Clicked.");
}
});
}

}

public class Main extends WtServlet {
@Override
public WApplication createApplication(WEnvironment env) {
return new WGoogleMapsTest(env);
}

}

Kind regards,
Ewout

KD Updated by Koen Deforche over 11 years ago Actions #1

  • Status changed from New to InProgress
  • Assignee set to Koen Deforche
Actions

Also available in: PDF Atom