0

gmaps with ZK CE

asked 2011-07-01 05:56:43 +0800

PhilipPeinsold gravatar image PhilipPeinsold
70 2

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

delete flag offensive retag edit

2 Replies

Sort by ยป oldest newest

answered 2011-07-01 10:58:59 +0800

mjablonski gravatar image mjablonski
1284 3 5
http://www.jease.org/

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

link publish delete flag offensive edit

answered 2011-07-01 12:30:51 +0800

PhilipPeinsold gravatar image PhilipPeinsold
70 2

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!!!

link publish delete flag offensive edit
Your reply
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow

RSS

Stats

Asked: 2011-07-01 05:56:43 +0800

Seen: 335 times

Last updated: Jul 01 '11

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More