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 42 43 44 45 46 47 48 49 50 51 52
|
<%@ page language="java" contentType="text/html;charset=iso-8859-15"%>
<%@taglib uri="http://beehive.apache.org/netui/tags-html-1.0" prefix="netui"%>
<%@taglib uri="http://beehive.apache.org/netui/tags-databinding-1.0" prefix="netui-data"%>
<%@taglib uri="http://beehive.apache.org/netui/tags-template-1.0" prefix="netui-template"%>
<!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">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>AMM project | Capgemini</title>
<meta http-equiv="Pragma" content="no-cache"/>
<link rel="stylesheet" type="text/css" media="screen, projection" href="<%=request.getContextPath() %>/Ressource/css/master.css" />
<link rel="stylesheet" type="text/css" media="screen, projection" href="<%=request.getContextPath() %>/Ressource/dijit/themes/tundra/tundra.css" />
<link rel="stylesheet" type="text/css" media="screen, projection" href="<%=request.getContextPath() %>/Ressource/dojo/resources/dojo.csss" />
<script type="text/javascript" src="<%=request.getContextPath() %>/Ressource/dojo/dojo.js"
djConfig="parseOnLoad: true"></script>
<script type="text/javascript">
dojo.require("dojo.parser");
dojo.require("dijit.form.DateTextBox");
dojo.require("dijit.form.TimeTextBox");
</script>
<!-- JavaScript -->
<script type="text/javascript"
src="<%=request.getContextPath() %>/Ressource/dojo/dojo.js"></script>
<script type="text/javascript" id="javascript">
function attenteCorbeille() {
dojo.xhrGet( {
// The following URL must match that used to test the server.
url: "<%=request.getContextPath()%>/template/getCorbeilleValue.do",
handleAs: "text",
timeout: 1000,
// The LOAD function will be called on a successful response.
load: function(response, ioArgs) {
dojo.byId("zone").innerHTML = response;
return response;
},
// The ERROR function will be called in an error case.
error: function(response, ioArgs) {
console.error("HTTP status code: ", ioArgs.xhr.status);
return response;
}
});
setTimeout(function(){attenteCorbeille()},10000);
}
</script>
<body>
--le reste--
</body></html> |
Partager