primefaces - problem with primerfaces gmap tag -
i tried use simple gmap example start developt webapp, doesn´t work me.
i used example prime movie-collector found on web page. included code <p:gmap center="41.381542, 2.122893" zoom="15" type="hybrid" style="width:600px;height:400px" />
in template.html file.
i got error:
javax.servlet.servletexception: /template.xhtml @39,39 <p:gmap> tag library supports namespace: http://primefaces.prime.com.tr/ui, no tag defined name: gmap javax.faces.webapp.facesservlet.service(facesservlet.java:325)
i think haven´t wrong libraries.
another day, tried create own example using simple map, obtained same output.
thanks!
download latest primefaces jar. http://www.primefaces.org/downloads.html
the following must in head section:
<script src="http://maps.google.com/maps/api/js?sensor=false" type="text/javascript" ></script>
<p:gmap>
must inside <f:view contenttype="text/html"></f:view>
render in chrome/safari.
Comments
Post a Comment