Bonjour, voila tout est dans le titre je souhaite utiliser l'api googlemap dans mon projet ejb/jsf...

Mon premier problème est d'utiliser la variable générée par le javascript de l'api :
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
                      "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	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:c="http://java.sun.com/jstl/core"
	xmlns:t="http://myfaces.apache.org/tomahawk">
<head>

<script type="text/javascript" src="http://maps.google.com/maps?file=api&amp;v=2.x&amp;key= votre clé    ">
 <!--
    var map = null;
    var geocoder = null;

    function load() {
      if (GBrowserIsCompatible()) {
        map = new GMap2(document.getElementById("map"));
        map.setCenter(new GLatLng(37.4419, -122.1419), 13);
        geocoder = new GClientGeocoder();
      }
    }
</script>

</head>
<body onload="load()">
<ui:composition template="/template/template1.jsp">

	<ui:define name="title">
               Titre
            </ui:define>

	<ui:define name="body">


      <h:outputText class="map" style="width: 500px; height: 300px"/>
 
</ui:define>
</ui:composition>
</body></html>
Ca aurait été simple mais ca ne renvoie ma variable...

Pouvez vous m'aider ?

Merci