I'm pretty sure I'm using the latest version: $ svn info Path: . URL: https://wicket-stuff.svn.sourceforge.net/svnroot/wicket-stuff/trunk/wicket-contrib-gmap2 Repository Root: https://wicket-stuff.svn.sourceforge.net/svnroot/wicket-stuff Repository UUID: ef7698a4-5110-0410-9fc6-c7eb3693863f Revision: 3219 Node Kind: directory Schedule: normal Last Changed Author: funkattack Last Changed Rev: 3149 Last Changed Date: 2007-10-23 21:44:10 +0100 (Tue, 23 Oct 2007)
Actually, that stack trace might have been misleading as I had been playing around with the code in GMap2... Here's a stack trace with the original version: Caused by: org.apache.wicket.WicketRuntimeException: This component is not (yet) coupled to a page. It has to be able to find the page it is supposed to operate in before you can call this method (Component#getMarkupId) at org.apache.wicket.Component.getMarkupId(Component.java:1201) at wicket.contrib.gmap.GMap2.getJSinvoke(GMap2.java:399) at wicket.contrib.gmap.GMap2.getJSsetCenter(GMap2.java:424) at wicket.contrib.gmap.GMap2.setCenter(GMap2.java:353) Jan On 06/11/2007, Martin Funk <[EMAIL PROTECTED]> wrote: > > Hi Jan, > > > to operate in before you can call this method (Component#getMarkupId) > > at org.apache.wicket.Component.getMarkupId(Component.java:1201) > > at wicket.contrib.gmap.GMap2.getJSinvoke(GMap2.java:399) > > at wicket.contrib.gmap.GMap2.getJSsetZoom(GMap2.java:424) > > at wicket.contrib.gmap.GMap2.setZoom(GMap2.java:353) > > > > > > (This is with Wicket 1.3 beta 4, and the head of gmap2) > > > > Looking at the line numbers I'd ask, are you sure you are running the > latest wicket-contrib-gmap2? > > like > > svn info > Pfad: . > URL: > > https://wicket-stuff.svn.sourceforge.net/svnroot/wicket-stuff/trunk/wicket-contrib-gmap2 > Basis des Projektarchivs: > https://wicket-stuff.svn.sourceforge.net/svnroot/wicket-stuff > UUID des Projektarchivs: ef7698a4-5110-0410-9fc6-c7eb3693863f > Revision: 3219 > Knotentyp: Verzeichnis > Plan: normal > Letzter Autor: funkattack > Letzte geänderte Rev: 3149 > Letztes Änderungsdatum: 2007-10-23 22:44:10 +0200 (Di, 23 Okt 2007) > > Also the description sounds like something we might have covered in the > one of the last updates. > > Have fun, > > Martin > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >