Last change
on this file since 68 was
68,
checked in by cbipsl, 14 years ago
|
commit v1 eccad
|
-
Property svn:executable set to
*
|
File size:
1.3 KB
|
Line | |
---|
1 | <%@ page contentType="text/html" %> |
---|
2 | <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %> |
---|
3 | <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %> |
---|
4 | <%@ taglib uri="http://myfaces.apache.org/tomahawk" prefix="t"%> |
---|
5 | <%@ taglib uri="http://java.sun.com/jstl/core" prefix="jstl" %> |
---|
6 | |
---|
7 | <f:view> |
---|
8 | <script language="JavaScript" src="../JavaScript/global.js"> </script> |
---|
9 | <head> |
---|
10 | <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-1"> |
---|
11 | <title>Eccad - creation of session</title> |
---|
12 | <link rel="stylesheet" |
---|
13 | href="../css/Eccad.css" |
---|
14 | type="text/css" |
---|
15 | media="all"> |
---|
16 | <link rel="stylesheet" href="../css/carte.css" type="text/css" media="all"/> |
---|
17 | |
---|
18 | <script type="text/javascript"> |
---|
19 | |
---|
20 | function changeValue(id_element, nom_tag) { |
---|
21 | alert("changeValue : " + id_element + " " + nom_tag); |
---|
22 | var elemt = document.getElementById(id_element); |
---|
23 | alert(elemt); |
---|
24 | alert(document.getElementById(nom_tag).value); |
---|
25 | elemt.value = document.getElementById(nom_tag).value; |
---|
26 | |
---|
27 | |
---|
28 | } |
---|
29 | |
---|
30 | </script> |
---|
31 | </head> |
---|
32 | |
---|
33 | <body> |
---|
34 | <h:form id="formulaire"> |
---|
35 | <h:inputText id="input_text"></h:inputText> |
---|
36 | |
---|
37 | <h:inputText id="input_text2"></h:inputText> |
---|
38 | <div style="position: relative; width: 100px; height: 10px; background-color: red;" onclick="changeValue('formulaire:input_text2', 'formulaire:input_text')"/> |
---|
39 | </h:form> |
---|
40 | </body> |
---|
41 | |
---|
42 | </f:view> |
---|
Note: See
TracBrowser
for help on using the repository browser.