-
FEATURED COMPONENTS
First time here? Check out the FAQ!
Hi!
When I use gmaps, I always get this error:
org.zkoss.zk.ui.metainfo.DefinitionNotFoundException: Component definition not found: gmaps in [LanguageDefinition: xul/html], [SYS file:/C:/Users/Phil/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/AccidentTag/index.zul line 4 col 65] at org.zkoss.zk.ui.metainfo.Parser.parse(Parser.java:777) at org.zkoss.zk.ui.metainfo.Parser.parse(Parser.java:601) at org.zkoss.zk.ui.metainfo.Parser.parse(Parser.java:872) ...
Is it generally possible to use gmaps in ZK CE???
I inlcuded the gmapsz-2.0_7.jar but it did not help.
my source:
<zk> <window title="Hello World!!" border="normal"> <script content="googleAPIkey='ABQIAAAA7_PRET95fDhQgNtQtC58aRSPajjBwEPeUe64LiuWG4sH29NvDhQ9em2x4twWaUu-JLOYaNxXqabRCQ'"/> <gmaps id="map" width="500px" height="300px"/> </window> </zk>
Thanks
I've just tried the latest gmaps-release (2.0.51) and it works without problems with ZK CE. Did you put the gmaps.jar into WEB-INF/lib of your application?
Cheers, Maik
Alright, thanks for your reply.
Seems that I used a wrong or too old jar-File.
I downloaded the gmap.jar (2.0.51) from here: http://sourceforge.net/projects/zk1/files/ZK%20Google%20Maps/ZK%205/2.0.51/zk-Gmaps-bin-2.0.51.zip/download
know it works fine!
Thank you Maik!!!
Asked: 2011-07-01 05:56:43 +0800
Seen: 335 times
Last updated: Jul 01 '11