Hi Alexandros,
it's just that the example uses the location's name as an id for a label
shown as content in a GInfoWindowTab. See the following line
in the example:
new GInfoWindowTab(address, new Label(*address*, address))
The label will end up inside a repeater which is complaining about the id.
Sven
Alexandros Karypidis wrote:
Hi,
I'm a new Wicket user who is also getting familiar with the GMap2 module
from wicket-stuff. I'm using the geocode example as a basis for
creating a form which allows you to search for a location and set the
map viewport to display it:
https://wicket-stuff.svn.sourceforge.net/svnroot/wicket-stuff/trunk/wicketstuff-core/gmap2-parent/gmap2-examples/src/main/java/wicket/contrib/examples/gmap/geocode/
The code works, but every time I search for a place I get a warning:
WARN - AbstractRepeater - Child component of repeater
org.apache.wicket.markup.repeater.RepeatingView:content
has a non-safe child id of [STRING_SEARCHED].
Safe child ids must be composed of digits only.
The [STRING_SEARCHED] is whatever I typed in the text field (e.g.
Barcelona, Spain or Athens, Greece).
So apparently, GMap2 sets an ID somewhere using the text field's value,
violating some Wicket expectation that such IDs should be composed using
digits only.
How can I fix this?
-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org
-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org