Marker marker = new Marker(new SphericalMercatorLonLat(50, 50), new PopupPanel("Hello Marker 1"));
openLayersMap.addOverlay(marker);
WebMarkupContainer popupClicker = new WebMarkupContainer("openPop1");
popupClicker.add(new PopupMarkerInfoAttributeAppender("onClick", ";", marker, openLayersMap));
add(popupClicker);
marker = new Marker(new SphericalMercatorLonLat(100, 50), new PopupPanel("Hello Marker 2"));
openLayersMap.addOverlay(marker);
popupClicker = new WebMarkupContainer("openPop2");
popupClicker.add(new PopupMarkerInfoAttributeAppender("onClick", ";", marker, openLayersMap));
add(popupClicker);
}