Hi all
Any one face the problem with Gmap using with Sentinel Layout? Please help if you have any solution
My xhtml code is here:
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:p="http://primefaces.org/ui"
template="/WEB-INF/templateadmin/template.xhtml">
<!-- <f:metadata>
<f:event type="preRenderView" listener="#{userSessionBean.verifyAccessPage}"/>
</f:metadata> -->
<script src="http://maps.google.com/maps/api/js?sensor=false" type="text/javascript" ></script>
<ui:define name="content">
<div class="Container100">
<div class="ContainerIndent">
<div class="EmptyBox20"></div>
<h:form>
<p:gmap center="41.381542, 2.122893" zoom="15" type="HYBRID" style="width:100%;height:400px" />
</h:form>
</div>
</div>
</ui:define>
</ui:composition>
Sentinel Layout: Gmap is not display
-
- Posts: 5281
- Joined: 29 Jun 2013, 12:38
Do you have an error on browser console? Also, please add map script into <ui:define name="head">.
Github Profile: https://github.com/mertsincan
-
- Information
-
Who is online
Users browsing this forum: No registered users and 33 guests