Sorry I didn't include all my code.
I am using IE8 with IE7 compatability set.
I have;
<head>
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" /
>
<script src="
http://maps.google.com/maps?
file=api&v=2&sensor=false&key=ABQIAAAAgiNNSEpcz5q7mruleySC6RRc6qmiA-
g9mt16aVfJwib-tiHt_hTRSSSqgVoLBj20zGqtn5m8J6ZtYw" type="text/
javascript"></script>
</head>
Full code;
<!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition xmlns="
http://www.w3.org/1999/xhtml"
xmlns:s="
http://jboss.com/products/seam/taglib"
xmlns:ui="
http://java.sun.com/jsf/facelets"
xmlns:f="
http://java.sun.com/jsf/core"
xmlns:h="
http://java.sun.com/jsf/html"
xmlns:rich="
http://richfaces.org/rich"
xmlns:a4j="
https://ajax4jsf.dev.java.net/ajax"
xmlns:m="
http://code.google.com/p/gmaps4jsf/"
template="layout/template.xhtml">
<head>
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" /
>
<script src="
http://maps.google.com/maps?
file=api&v=2&sensor=false&key=ABQIAAAAgiNNSEpcz5q7mruleySC6RRc6qmiA-
g9mt16aVfJwib-tiHt_hTRSSSqgVoLBj20zGqtn5m8J6ZtYw" type="text/
javascript"></script>
</head>
<body onunload="GUnload()">
<f:view contentType="text/html"></f:view>
<ui:define name="body">
<h1>NOTiFY PiNPOiNT beta</h1>
<h:form id="mapForm">
<script>
function selectedDevicesToTrackChanged() {
alert('selectedDevicesToTrackChanged()');
}
function selectedDateFromChanged() {
alert('selectedDateFromChanged()');
}
function selectedDateToChanged() {
alert('selectedDateToChanged()');
}
</script>
<rich:panel style="width:100%; height:100%;"
id="NOTiFYPiNPOINTpanel">
<h:panelGroup id="NOTiFYPiNPOINTpanelGroup">
<h:panelGrid columns="10">
<h:outputLabel for="devicesToTrack">Device to track</
h:outputLabel>
<h:selectOneMenu value="#
{devicesToTrackBean.devicesToTrack}" required="true"
id="devicesToTrack" >
<s:selectItems value="#{devicesToTrackList}"
var="devicesToTrack" label="#{devicesToTrack.vehicleAllocatedTo}" />
<s:convertEntity/>
<a4j:support event="onchange" action="#
{devicesToTrackBean.getDevicesToTrackCurrentLocation()}"
reRender="NOTiFYPiNPOINTpanelGrid" />
</h:selectOneMenu>
<rich:message for="devicesToTrack">
</rich:message>
<h:outputLabel for="selectedDateFromCalendar">Date
from</h:outputLabel>
<rich:calendar name="selectedDateFromCalendar"
id="selectedDateFromCalendar" label="selectedDateFrom" value="#
{calendarBean.selectedDateFrom}" datePattern="#{calendarBean.pattern}"
popup="true" >
<a4j:support event="onchanged" action="#
{devicesToTrackBean.getDevicesToTrackCurrentLocation()}"
reRender="NOTiFYPiNPOINTpanelGrid" />
</rich:calendar>
<rich:message for="selectedDateFrom">
</rich:message>
<h:outputLabel for="selectedDateToCalendar">Date
to</h:outputLabel>
<rich:calendar name="selectedDateToCalendar"
id="selectedDateToCalendar" label="selectedDateTo" value="#
{calendarBean.selectedDateTo}" datePattern="#{calendarBean.pattern}"
popup="true" >
<a4j:support event="onchanged" action="#
{devicesToTrackBean.getDevicesToTrackCurrentLocation()}"
reRender="NOTiFYPiNPOINTpanelGrid" />
</rich:calendar>
<rich:message for="selectedDateTo">
</rich:message>
</h:panelGrid>
</h:panelGroup>
</rich:panel>
</h:form>
</ui:define>
</body>
</ui:composition>
<!--
<a4j:support event="onchange" action="#
{devicesToTrackBean.getDevicesToTrackCurrentLocation()}"
reRender="NOTiFYPiNPOINTpanelGrid"
oncomplete="selectedDevicesToTrackChanged()" />
<h:selectOneMenu value="#
{piNPOiNTDevicesToTrackBean.selectedDevicesToTrack}"
id="devicesToTrack" >
-->
On Nov 30, 6:21 pm, Hazem Saleh <
hazem.sa...@gmail.com> wrote:
> Yes it works with Seam. please make sure that you put:
>
> <script src="
http://maps.google.com/maps?file=api&v=2&key=ABQIAAAAtRLgopSf..."
> > For more options, visit this group athttp://
groups.google.com/group/gmaps4jsf-dev?hl=en.
>
> --
> Hazem Ahmed Saleh Ahmed
>
> Author of (The Definitive Guide to Apache MyFaces and Facelets):
http://www.amazon.com/Definitive-Guide-Apache-MyFaces-Facelets/dp/159...http://www.amazon.com/-/e/B002M052KY
>
> Web blog:
http://www.jroller.com/page/HazemBlog
>
> [Web 2.0] Google Maps Integration with JSF:
http://code.google.com/p/gmaps4jsf/http://www.ibm.com/developerworks/library/wa-aj-gmaps/- Hide quoted text -
>
> - Show quoted text -