Hi Hazem,
I would like to thank you and your team for the great work.
I've created a simple web application to trace some coordinates from DataBase.
I use the gmaps4jsf 1.1.4
When I fill the Coordinate list( #{pathController.coord} ) manually it works.
When I press the "h:commandButton", the Coordinate list( #{pathController.coord} ) is filled but the map disapear!!! Is it a non compatibility with ajax??
Here is the code:
<?xml version='1.0' encoding='UTF-8' ?>
<h:head>
<title>Carte avec GMaps4JSF</title>
<script
type="text/javascript"></script>
</h:head>
<h:body>
<h:form id="mashupForm">
<h2>Traquer l'utilisatuer 1</h2>
<h:commandButton value="Crée" action="#{pathController.doGetPath}">
<f:ajax render="mapGroup" />
</h:commandButton>
<h:panelGroup id="mapGroup">
<m:map width="800px" height="600px" latitude="36.50"
longitude="10.21">
<m:polyline lineWidth="5" hexaColor="#ff0000" geodesic="false">
<ui:repeat value="#{pathController.coord}" var="loca">
<m:point latitude="#{loca.latitude}" longitude="#{loca.longitude}" />
</ui:repeat>
</m:polyline>
</m:map>
</h:panelGroup>
</h:form>
</h:body>
</html>