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 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303
|
<%@ taglib uri="http://jakarta.apache.org/struts/tags-bean" prefix="bean" %>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-html" prefix="html" %>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-logic" prefix="logic" %>
<%@ page contentType="text/html; charset=iso-8859-1" language="java" import="java.sql.*" errorPage="" %>
<!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=iso-8859-1" />
<title>Engine Removal</title>
<script type='text/javascript' src='/ZIRAM/dwr/interface/Removal.js'></script>
<script type='text/javascript' src='/ZIRAM/dwr/engine.js'></script>
<script type='text/javascript' src='/ZIRAM/dwr/util.js'></script>
<script type='text/javascript'>
<!--
function rafraichirListeValeursRegistry() {
Removal.getListeValeursRegistry($("listevaleursactype").value,remplirListeValeursRegistry);
}
function remplirListeValeursRegistry(data) {
DWRUtil.removeAllOptions("listevaleursvaleursregistry");
DWRUtil.addOptions("listevaleursregistry", data);
DWRUtil._selectListItem($("listevaleursregistry"),$("listevaleursregistry").options[0].value);
}
function rafraichirListeValeursPos() {
Removal.getListeValeursPos($("listevaleursregistry").value,remplirListeValeursPos);
}
function remplirListeValeursPos(data) {
DWRUtil.removeAllOptions("listevaleurspos");
DWRUtil.addOptions("listevaleurspos", data);
DWRUtil._selectListItem($("listevaleurspos"),$("listevaleurspos").options[0].value);
}
function majEngineRemoval() {
Removal.getEngineSN($("listevaleursregistry").value,$("listevaleurspos").value,afficherEngineSN);
Removal.getEngineTR(afficherEngineTR, $("Enginesn").value);
Removal.getEngineAC(afficherEngineAC, $("Enginesn").value);
Removal.getEnginePos(afficherEnginePos, $("Enginesn").value);
Removal.getEngineTAI(afficherEngineTAI, $("Enginesn").value);
Removal.getEngineCAI(afficherEngineCAI, $("Enginesn").value);
Removal.getEngineTSN(afficherEngineTSN, $("Enginesn").value);
Removal.getEngineCSN(afficherEngineCSN, $("Enginesn").value);
}
function afficherEngineSN(data) {
DWRUtil.setValue("EngineSN",data);
}
function afficherEngineTR(data) {
DWRUtil.setValue("TR",data);
}
function afficherEngineAC(data) {
DWRUtil.setValue("AC",data);
}
function afficherEnginePos(data) {
DWRUtil.setValue("Position",data);
}
function afficherEngineTAI(data) {
DWRUtil.setValue("TAI",data);
}
function afficherEngineCAI(data) {
DWRUtil.setValue("CAI",data);
}
function afficherEngineTSN(data) {
DWRUtil.setValue("AC",data);
}
function afficherEngineCSN(data) {
DWRUtil.setValue("Position",data);
}
function init() {
DWRUtil.useLoadingMessage();
rafraichirListeValeursRegistry();
rafraichirListeValeursPos();
}
-->
</script>
<style type="text/css">
<!--
body {
margin-left: 100px;
margin-top: 30px;
margin-right: 100px;
}
.Style1 {color: #007FFF}
.Style2 {
font-size: 24px;
font-style: italic;
font-weight: bold;
color: #000066;
}
.Style4 {font-size: 16px}
.Style5 {color: #000066}
.Style7 {
font-size: 16px;
font-weight: bold;
font-style: italic;
}
-->
</style></head>
<body onload="init();">
<table width="906" height="824" border="1" align="center">
<tr>
<td width="230" height="128"><div align="center"><img src="Sans titre-2.png" width="230" height="170" /></div></td>
<td width="410"><p align="center"><img src="Sans titre2.png" width="410" height="170" /></p> </td>
<td width="244"><img src="Sans titre1.png" width="244" height="170" /></td>
</tr>
<tr>
<td height="617" valign="top" bgcolor="#FFFCEB">
<div align="center" class="Style1"><img src="Sans titre.png" width="230" height="120" />
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="230" height="300">
<param name="movie" value="xmlmenu.swf" />
<param name="quality" value="high" />
<embed src="xmlmenu.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="540" height="300"></embed>
</object>
<img src="Sans titre11.png" width="230" height="172" /> </div></td>
<td height="617" colspan="2" align="center" valign="top"><div align="center" class="Style2">
<p>Engine Removal </p>
<html:form action="remove">
<table width="648" border="0">
<tr>
<th width="216" scope="col"><div align="left"><span class="Style4">Aircraft Type:</span>
<select id="listevaleursactype" name="listevaleursactype" size="1" onchange="rafraichirListeValeursRegistry();">
<logic:present name="actypeok">
<logic:iterate id="remform" name="actypeok">
<option value="<bean:write name="remform" property="actype"/>">
<bean:write name="remform" property="actype"/>
</option>
</logic:iterate>
</logic:present>
</select>
</div></th>
<th width="216" scope="col"><div align="left"><span class="Style4">Registry:</span>
<select id="listevaleursregistry" name="listevaleursregistry" size="1" onchange="rafraichirListeValeursPos();">
</select>
</div></th>
<th width="216" scope="col"><div align="left"><span class="Style4">Position:</span>
<select id="listevaleurspos" name="listevaleurspos" size="1" >
</select>
</div></th>
</tr>
</table>
<p><a href="javascript:majEngineRemoval();" ><img src="bouton1.png" width="110" height="20"/></a></p>
<blockquote>
<blockquote>
<p align="left"></p>
</blockquote>
</blockquote>
</div>
<table width="653" border="0">
<tr class="Style7">
<td width="213" height="50"><div align="center" class="Style5">
<div align="center">
<p><span class="Style7">Engine SN</span></p>
<p><em>
<input name="Enginesn" type="text" id="Enginesn" size="20" readonly="true" />
</em></p>
</div>
</div></td>
<td width="213" height="50"><div align="center" class="Style5">
<div align="center">
<p><em>Trust R.</em></p>
<p><em>
<input name="TR" type="text" id="TR" size="20" readonly="true" />
</em></p>
</div>
</div></td>
<td width="213" height="50"><div align="center" class="Style5">
<div align="center">
<p><em>Aircraft</em></p>
<p><em>
<input name="AC" type="text" id="AC" size="20" readonly="true" />
</em></p>
</div>
</div></td>
</tr>
<tr>
<td height="50"><div align="center">
<p class="Style5"> </p>
<p class="Style5"><span class="Style7">Position</span></p>
<p class="Style5"><em><em>
<input name="Position" type="text" id="Position" size="20" />
</em>
</em></p>
</div></td>
<td height="50"><div align="center">
<p class="Style5"> </p>
<p class="Style5"><span class="Style7">TAI</span></p>
<p class="Style5"><em>
<input name="TAI" type="text" id="TAI" size="20" readonly="true" />
</em></p>
</div></td>
<td height="50"><div align="center">
<p class="Style5"> </p>
<p class="Style5"><span class="Style7">CAI</span></p>
<p class="Style5"><em><em></em>
<input name="CAI" type="text" id="CAI" size="20" readonly="true" />
</em></p>
</div></td>
</tr>
<tr>
<td height="50"><div align="center">
<p class="Style5"> </p>
<p class="Style5"><span class="Style7">TSN</span></p>
<p class="Style5"><em>
<input name="TSN" type="text" id="TSN" size="20" readonly="true" />
</em></p>
</div></td>
<td height="50"><div align="center">
<p class="Style5"> </p>
<p class="Style5"><span class="Style7">CSN</span></p>
<p class="Style5"><em>
<input name="CSN" type="text" id="CSN" size="20" readonly="true" />
</em></p>
</div></td>
<td height="50"><div align="center">
<p class="Style5"> </p>
<p class="Style5"><span class="Style7">DATE</span><em><em></em></em></p>
<p class="Style5"><em>
<input name="DATE" type="text" id="DATE" size="20" />
</em></p>
</div></td>
</tr>
<tr class="Style7">
<td height="50"><div align="center">
<p class="Style5"> </p>
<p class="Style5">Rem Date</p>
<p class="Style5"><em>
<input name="Remdate" type="text" id="Remdate" size="20" />
</em></p>
</div></td>
<td height="50"><div align="center">
<p class="Style5"> </p>
<p class="Style5">Rem Reason</p>
<p class="Style5"><em>
<input name="Remreason" type="text" id="Remreason" size="20" />
</em></p>
</div></td>
<td height="50"><div align="center">
<p class="Style5"> </p>
<p class="Style5"><span class="Style7">Rem Class</span></p>
<p class="Style5"><em>
<input name="DATE" type="text" id="DATE" size="20" />
</em></p>
</div></td>
</tr>
<tr class="Style7">
<td height="119"><div align="center">
<p class="Style5"> </p>
<p class="Style5">Total Cycle </p>
<p class="Style5"><em>
<input name="TC" type="text" id="TC" size="20" />
</em></p>
</div></td>
<td height="119"><div align="center">
<p class="Style5"> </p>
<p class="Style5">Workscope Num </p>
<p class="Style5"><em>
<input name="workscope" type="text" id="worscope" size="20" />
</em></p>
</div></td>
<td height="119"> <div align="center">
<p class="Style5"> </p>
<p class="Style5">Total Time </p>
<p class="Style5"><em>
<input name="TT" type="text" id="TT" size="20" />
</em></p>
</div>
</td>
</tr>
</table>
<p> <html:submit value="Valider" />
</html:form>
</p></td>
</tr>
<tr>
<td height="23" colspan="3"><div align="right">
<%= new java.util.Date().toString() %></div></td>
</tr>
</table>
</body>
</html> |