Hi Martin
I get the wicket ajax debug window.. And (slice from the simple page below)
<script type="text/javascript" ><!--/*--><![CDATA[/*><!--*/
Wicket.Event.add(window, "domready", function() { new WicketMap2('map1');
Wicket.maps['map1'].overlayListenerCallbackUrl =
'?wicket:interface=:0:map::IActivePageBehaviorListener:2:&wicket:ignoreIfNotActive=true';
--------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Wicket.maps['map1'].setCenter(new GLatLng(52.37649, 4.888573, false));
Wicket.maps['map1'].setZoom(13);
Wicket.maps['map1'].setDraggingEnabled(true);
Wicket.maps['map1'].setDoubleClickZoomEnabled(false);
Wicket.maps['map1'].setScrollWheelZoomEnabled(false);
Wicket.maps['map1'].setMapType(G_NORMAL_MAP);
;});
/*-->]]>*/</script>
<script type="text/javascript"
src="resources/org.apache.wicket.ajax.AbstractDefaultAjaxBehavior/wicket-ajax-debug.js"></script>
<script type="text/javascript"
id="wicket-ajax-debug-enable"><!--/*--><![CDATA[/*><!--*/
wicketAjaxDebugEnable=true;
/*-->]]>*/</script>
Im not sure if gets called every time of it's just because it's ready for it?
Martin Funk wrote:
Nino Saturnino Martinez Vazquez Wael wrote:
I know, im just too lazy if gmap2 already supports it:)
were in the 'simple' example do you see ajax?
[EMAIL PROTECTED] wrote:
I'm not sure if GMap2 has that option, but if not, you could just
put plain GMap code and provide the location with some hidden Label
or a small component to do that.
On Oct 17, 2008 5:22pm, Nino Saturnino Martinez Vazquez Wael
<[EMAIL PROTECTED]> wrote:
Are there a way to avoid the GMAP2 contrib to add ajax listeners, thus
making it non ajax? I have some pages that only should display a
map, nonclickable non moveable etc.
--
-Wicket for love
Nino Martinez Wael
Java Specialist @ Jayway DK
http://www.jayway.dk
+45 2936 7684
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
-Wicket for love
Nino Martinez Wael
Java Specialist @ Jayway DK
http://www.jayway.dk
+45 2936 7684
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]