Bonjour,

Tabord j'espère que vous pourrez m'aider. Mon problème es le suivant :

J'ai des champs de saisies, et je peux que l'utilisateur ne puissent saisir dans ces champs que des chiffres.

J'ai trouver un lien pour faire cela mais cela ne marche pas.

Lien :

http://coldjava.hypermart.net/servlets/maskedinput.htm

Code JSP:
Code xml : 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
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
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
 
 
<!-- Import nécessaire -->
<%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%>
 
<%@ taglib prefix="a4j" uri="http://richfaces.org/a4j" %>
<%@ taglib prefix="rich" uri="http://richfaces.org/rich" %>
<%@ taglib prefix="f"  uri="http://java.sun.com/jsf/core"%>
<%@ taglib prefix="h"  uri="http://java.sun.com/jsf/html"%>
 
 
 
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
 
 
<%@page import="CSCI_SB.CSC_GDB.CSC_CONSULTATION.CoutobjectifachatBean"%>
 
 
<html>
 
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
    <meta http-equiv="Content-Style-Type" content="text/css" />
    <link rel="stylesheet" type="text/css" href="css.css" />
 
    <!-- Titre en haut de la page -->
	<title>THOT : Mandat</title>
 
<script language="Javascript1.2" type="text/javascript">
 
 
function Chargement() {
 
}
 
</script>
 
 
</head>
<body onLoad="Chargement();">
 
<f:view>
 
<!-- L'en-tête -->
    <div id="logoThales" ></div>
    <div id="entete">
    	<strong class="important">TH</strong>alès <strong class="important">O</strong>util de sous-<strong class="important">T</strong>raitance <img src="img/thot.jpg" style="position:absolute;top:5px;left:1050px;" width=35 height=7%>
    </div>
 
     <!-- Partie connexion avec la date -->
    <div id="connexion">
    <h:form>
       <strong><h:outputText value="#{connexionBean.utilisateur.nom}" /><rich:spacer width="5" /><h:outputText value="#{connexionBean.utilisateur.prenom}" /> | <h:outputLink value="modifierCompte.jsf"><h:outputText value="Compte" /></h:outputLink> | <h:commandLink action="#{connexionBean.deconnexion}" immediate="true" value="Déconnexion" />| <script type="text/javascript" src="date.js"></script></strong>
	</h:form>
    </div>
 
     <!-- Les menus -->
    <div id="menu">
    	<f:subview id="menuSub">
 
			<%@ include file="menu.jsp" %>
		</f:subview>
    </div>
 
    <!-- Le corps -->
 
 
 
	    <div id="action"></div>
		    <div id="corps">
 
				<div id="coutobjectifachat">
 
					<!-- Titre de la page -->
					<h2>Détermination du mandat</h2> 
					<center>(Cout cible pour une sous-traitance de développement) </center> 				 
 
					<!-- Espace de 30px entre le titre et le formulaire -->
					<rich:spacer height="30px" />					 
 
					<h:form id="BesoinForm" style="width: 100%;" >
 
 
 
						<h:panelGrid columns="6" >						
							<h:outputLabel><font><h:outputText value="Affaire : "/></font></h:outputLabel>
 
 
						<!-- Choisir une affaire dans la liste déroulante -->
					<h:selectOneMenu id="affaire" value="#{CoutobjectifachatBean.idAffaire}" >
						<f:selectItems value="#{CoutobjectifachatBean.listAffaire}" />
						<a4j:support event="onchange" actionListener="#{CoutobjectifachatBean.affaireByID}" reRender="projet" />
					</h:selectOneMenu>
 
 
					<h:outputLabel><font><h:outputText value="Sous-ensemble : "/></font></h:outputLabel>
 
					<h:selectOneMenu id="projet" value="#{CoutobjectifachatBean.idProjet}"  >
						<f:selectItem itemValue="0" itemLabel="Choisir un projet"/>
						<f:selectItems  value="#{CoutobjectifachatBean.listProjettrie}"/>	
						<a4j:support event="onchange" actionListener="#{CoutobjectifachatBean.projetByID}" reRender="besoinSelectMenu" />					
					</h:selectOneMenu>		
 
					<h:outputLabel><font><h:outputText value="Selection du Besoin : "/></font></h:outputLabel>
					<h:selectOneMenu id="besoinSelectMenu" value="#{CoutobjectifachatBean.id}" converter="javax.faces.Integer">
						<f:selectItems value="#{CoutobjectifachatBean.listBesointrie}" />
						<a4j:support event="onchange" actionListener="#{CoutobjectifachatBean.besoinByID}" reRender="worknomcharge,chargetransverse,risqueslitigesmontant,opprotunitesmontant,chargetransversejour,totaljours,totalkeur,montanttotalsansrisqueskeur,montanttotalsansrisquesjours,montanttotalavecrisqueskeur,montanttotalavecrisquesjours,suivifournisseur,suivifournisseureuros,suivifournisseurjours,tjmtas,tjmeuros,risqueslitigesjours,opprotunitesjours,risqueslitigesmontanteuros,opprotunitesmontanteuros,mandat,coef,coefk" />
					</h:selectOneMenu>
					<h:message showDetail="true" style="color: red; text-decoration: none;" id="messageBesoin" for="besoinSelectMenu" />
 
						</h:panelGrid>	
 
						<rich:spacer height="20px" /> 
 
						<rich:panel header="" style="width:980px;">	
 
							<h:outputLabel><font><center><h:outputText value="Montant chargé provisionné pour le développement par TAS :" style="color:orange;font-size:15px"/></center></font></h:outputLabel>
							<br/>
							<br/>							
							<h:outputLabel><font><u><h:outputText value="MAKE : Si les travaux sont fait pour TSA" /></u></font></h:outputLabel>
							<br/>
							<br/>
							<!-- Petit panel de 3 colonnes où dans chaque colonne est placé un composant -->
							<h:panelGrid columns="7" >	
								<h:outputLabel><font><h:outputText value="WorkLoad non chargé (Implémentation, Soutien, Conception, Qualification) " /></font><font><h:outputText style="color:red" value="(1) :"/></font></h:outputLabel>							
								<h:outputLabel><font><h:outputText value=""/></font></h:outputLabel>
								<h:outputLabel><font><h:outputText value=""/></font></h:outputLabel>		
								<h:inputText id="worknomcharge"  value="#{CoutobjectifachatBean.coutcible.worknomcharge}" title= "Charge transverse jours = Worknomcharge * Charge transverse" ><f:convertNumber groupingUsed="#{true}" maxFractionDigits="1" ></f:convertNumber></h:inputText>									
								<a4j:support event="onkeyup" reRender="chargetransversejour,totaljours,totalkeur,montanttotalsansrisqueskeur,montanttotalsansrisquesjours,montanttotalavecrisqueskeur,montanttotalavecrisquesjours,suivifournisseureuros,suivifournisseurjours,tjmeuros,risqueslitigesjours,opprotunitesjours,risqueslitigesmontanteuros,opprotunitesmontanteuros,mandat,coefk" />
 
								<h:outputLabel><font><h:outputText value="j" /></font></h:outputLabel>
								<h:outputLabel><font><h:outputText value=""/></font></h:outputLabel>	
								<h:outputLabel><font><h:outputText value=""/></font></h:outputLabel>	
 
								<!-- Petit composant qui ai une échelle de pourcentage pour choisir la charge transverse, la value de inputNumberSlider sera à modifier -->
								<h:outputLabel><font><h:outputText value="Charge transverse lié au dév (management, qualité, garantie) "/></font><font><h:outputText style="color:red" value="(2) :"/></font></h:outputLabel>	
								<h:inputText id="chargetransverse" value="#{CoutobjectifachatBean.coutcible.montantcharge}" title= "Charge transverse jours = Worknomcharge * Charge transverse"><f:convertNumber groupingUsed="#{true}" maxFractionDigits="0" ></f:convertNumber></h:inputText>		
								<a4j:support event="onkeyup" reRender="chargetransversejour,totaljours,totalkeur,montanttotalsansrisqueskeur,montanttotalsansrisquesjours,montanttotalavecrisqueskeur,montanttotalavecrisquesjours,suivifournisseureuros,suivifournisseurjours,tjmeuros,risqueslitigesjours,opprotunitesjours,risqueslitigesmontanteuros,opprotunitesmontanteuros,mandat,coefk" />
								<h:outputLabel><font><h:outputText value="% soit"/></font></h:outputLabel>		
								<h:inputText id="chargetransversejour"  value="#{CoutobjectifachatBean.coutcible.chargetransversejour}" disabled="true" title= "Charge transverse jours = Worknomcharge * Charge transverse" ><f:convertNumber groupingUsed="#{true}" maxFractionDigits="1" ></f:convertNumber></h:inputText>										
								<h:outputLabel><font><h:outputText value="j " /></font><font><h:outputText style="color:red" value="(4)" title= "Charge transverse jours = Worknomcharge * Charge transverse == (4)=(1)*(2)"/></font></h:outputLabel>	
								<h:outputLabel><font><h:outputText value=""/></font></h:outputLabel>	
								<h:outputLabel><font><h:outputText value=""/></font></h:outputLabel>		
 
 
								<h:outputLabel><font><h:outputText value=""/></font></h:outputLabel>	
								<h:outputLabel><font><h:outputText value=""/></font></h:outputLabel>	
							    <h:outputLabel><font><h:outputText value="TOTAL :"/></font></h:outputLabel>		
								<h:inputText id="totaljours"  value="#{CoutobjectifachatBean.coutcible.totaljours}" disabled="true" ><f:convertNumber groupingUsed="#{true}" maxFractionDigits="1" ></f:convertNumber></h:inputText>									
								<h:outputLabel><font><h:outputText value="j "/></font><font><h:outputText style="color:red" value="(5)" title= "Total jours = Worknomcharge + Charge transverse == (5)=(1)+(2)" /></font></h:outputLabel>
								<h:inputText id="totalkeur"  value="#{CoutobjectifachatBean.coutcible.totalkeur}" disabled="true" ><f:convertNumber groupingUsed="#{true}" maxFractionDigits="0" ></f:convertNumber></h:inputText>		
								<h:outputLabel><font><h:outputText value="EUR "/></font><font><h:outputText style="color:red" value="(6)" title= "Total kEUR = (Worknomcharge + Charge transverse jours)* Tjmeuros == (6)=((1)+(4))*(3)"/></font></h:outputLabel>
 
 
							</h:panelGrid>	
							<!-- Fin petit panel -->
														<!-- Espace de 20px entre le second panel et le troisième-->
							<rich:spacer height="20" />
 
							<!-- Petit panel de 4 colonnes où dans chaque colonne est placé un composant -->
							<h:panelGrid columns="2" >	
 
								<h:outputLabel><font><h:outputText value="TJM : "/></font></h:outputLabel>
 
								<!-- Choisir une entite dans la liste déroulante -->
								<h:selectOneMenu id="tjmtas" value="#{CoutobjectifachatBean.idEntite}" >
									<f:selectItems value="#{CoutobjectifachatBean.listEntite}" />
									<a4j:support event="onchange" actionListener="#{CoutobjectifachatBean.entiteByID}" reRender="chargetransversejour,totaljours,totalkeur,montanttotalsansrisqueskeur,montanttotalsansrisquesjours,montanttotalavecrisqueskeur,montanttotalavecrisquesjours,suivifournisseureuros,suivifournisseurjours,tjmeuros,risqueslitigesjours,opprotunitesjours,risqueslitigesmontanteuros,opprotunitesmontanteuros,mandat,coefk" />
								</h:selectOneMenu>
 
								<h:outputLabel><font><h:outputText value="TJM en EUR "/></font><font><h:outputText style="color:red" value="(3) :"/></font></h:outputLabel>		
								<h:inputText id="tjmeuros"  value="#{CoutobjectifachatBean.coutcible.montanttjm}" disabled="true"  />
 
 
							</h:panelGrid>
							<!-- Fin petit panel -->
 
 
 
							<!-- Petite ligne de séparation dans ce composant-->
							<br/><rich:separator height="2" lineType="solid"/><br/>
 
							<!-- Petit panel de 7 colonnes où dans chaque colonne est placé un composant -->
 
 
							<h:panelGrid columns="8" >	
 
								<!-- Petit composant qui ai une échelle de pourcentage pour choisir la charge transverse, la value de inputNumberSlider sera à modifier -->
								<h:outputLabel><font><h:outputText value=""/></font></h:outputLabel>
								<h:outputLabel><font><h:outputText value="(+) Risques "/></font></h:outputLabel>	
								<h:inputText id="risqueslitigesmontant"  value="#{CoutobjectifachatBean.coutcible.risques}"><f:convertNumber groupingUsed="#{true}" maxFractionDigits="0" ></f:convertNumber></h:inputText>				
								<a4j:support event="onkeyup" reRender="chargetransversejour,totaljours,totalkeur,montanttotalsansrisqueskeur,montanttotalsansrisquesjours,montanttotalavecrisqueskeur,montanttotalavecrisquesjours,suivifournisseureuros,suivifournisseurjours,tjmeuros,risqueslitigesjours,opprotunitesjours,risqueslitigesmontanteuros,opprotunitesmontanteuros,mandat,coefk"/>	
								<h:outputLabel><font><h:outputText value="% "/></font><font><h:outputText style="color:red" value="(7) "/></font><font><h:outputText value="soit"/></font></h:outputLabel>		
								<h:inputText id="risqueslitigesjours" value="#{CoutobjectifachatBean.coutcible.risquesjours}" disabled="true" ><f:convertNumber groupingUsed="#{true}" maxFractionDigits="1" ></f:convertNumber></h:inputText>		
								<h:outputLabel><font><h:outputText value="j"/></font><font><h:outputText style="color:red" value=" (8) " title= "Risques JOUR = Risques * Total JOUR == (8)=(7)*(5)"/></font></h:outputLabel>	
								<h:inputText id="risqueslitigesmontanteuros" value="#{CoutobjectifachatBean.coutcible.risqueseuros}" disabled="true" ><f:convertNumber groupingUsed="#{true}" maxFractionDigits="0" ></f:convertNumber></h:inputText>									
								<h:outputLabel><font><h:outputText value="EUR"/></font><font><h:outputText style="color:red" value=" (9)" title= "Risques kEUR = Risques * Total kEUR == (9)=(7)*(6)"/></font></h:outputLabel>		
 
								<!-- Petit composant qui ai une échelle de pourcentage pour choisir la charge transverse, la value de inputNumberSlider sera à modifier -->
								<h:outputLabel><font><h:outputText value=""/></font></h:outputLabel>
								<h:outputLabel><font><h:outputText value="(-) Opportunités "/></font></h:outputLabel>	
								<h:inputText id="opprotunitesmontant" value="#{CoutobjectifachatBean.coutcible.opportunite}" ><f:convertNumber groupingUsed="#{true}" maxFractionDigits="0" ></f:convertNumber></h:inputText>				
								<a4j:support event="onkeyup" reRender="chargetransversejour,totaljours,totalkeur,montanttotalsansrisqueskeur,montanttotalsansrisquesjours,montanttotalavecrisqueskeur,montanttotalavecrisquesjours,suivifournisseureuros,suivifournisseurjours,tjmeuros,risqueslitigesjours,opprotunitesjours,risqueslitigesmontanteuros,opprotunitesmontanteuros,mandat,coefk"/>	
								<h:outputLabel><font><h:outputText value="% "/></font><font><h:outputText style="color:red" value="(10) "/></font><font><h:outputText value="soit"/></font></h:outputLabel>		
								<h:inputText id="opprotunitesjours" value="#{CoutobjectifachatBean.coutcible.opportunitejours}" disabled="true" ><f:convertNumber groupingUsed="#{true}" maxFractionDigits="1" ></f:convertNumber></h:inputText>	
								<h:outputLabel><font><h:outputText value="j"/></font><font><h:outputText style="color:red" value=" (11) " title= "Opportunites JOUR = Opportunites * Total JOUR == (11)=(7)*(5)"/></font></h:outputLabel>	
								<h:inputText id="opprotunitesmontanteuros" value="#{CoutobjectifachatBean.coutcible.opportuniteeuros}" disabled="true" ><f:convertNumber groupingUsed="#{true}" maxFractionDigits="0" ></f:convertNumber></h:inputText>									
								<h:outputLabel><font><h:outputText value="EUR"/></font><font><h:outputText style="color:red" value=" (12)" title= "Opportunites kEUR = Opportunites * Total kEUR == (12)=(10)*(6)"/></font></h:outputLabel>		
 
 
 
 
 
							<!-- Petite ligne de séparation dans ce composant-->
								<h:outputLabel><font><h:outputText value="------------------------------------------------"/></font></h:outputLabel>
								<h:outputLabel><font><h:outputText value="--------------------------------------------------"/></font></h:outputLabel>	
								<h:outputLabel><font><h:outputText value="--------------------------------"/></font></h:outputLabel>	
								<h:outputLabel><font><h:outputText value="---------"/></font></h:outputLabel>
								<h:outputLabel><font><h:outputText value="--------------------------------"/></font></h:outputLabel>
								<h:outputLabel><font><h:outputText value="-"/></font></h:outputLabel>		
								<h:outputLabel><font><h:outputText value="--------------------------------"/></font></h:outputLabel>
								<h:outputLabel><font><h:outputText value="-------"/></font></h:outputLabel>
							<!-- Petit panel de 3 colonnes où dans chaque colonne est placé un composant -->
 
 
								<!-- -->
								<h:outputLabel><font><h:outputText value=""/></font></h:outputLabel>
								<h:outputLabel><font><h:outputText value="MONTANT TOTAL SANS RISQUES"/></font></h:outputLabel>	
								<h:outputLabel><font><h:outputText value=""/></font></h:outputLabel>	
								<h:outputLabel><font><h:outputText value=""/></font></h:outputLabel>
								<h:inputText id="montanttotalsansrisquesjours" value="#{CoutobjectifachatBean.coutcible.montanttotalsansrisquesjours}" disabled="true" ><f:convertNumber groupingUsed="#{true}" maxFractionDigits="1" ></f:convertNumber></h:inputText>	
								<h:outputLabel><font><h:outputText value="j"/></font><font><h:outputText style="color:red" value=" (5)" title= "Montant total sans risques jours = Worknomcharge + Charge transverse == (5)=(1)+(2)" /></font></h:outputLabel>		
								<h:inputText id="montanttotalsansrisqueskeur" value="#{CoutobjectifachatBean.coutcible.montanttotalsansrisqueskeur}" disabled="true" ><f:convertNumber groupingUsed="#{true}" maxFractionDigits="0" ></f:convertNumber></h:inputText>			
								<h:outputLabel><font><h:outputText value="EUR"/></font><font><h:outputText style="color:red" value=" (6)" title= "Montant total sans risques kEUR = (Worknomcharge + Charge transverse jours)* Tjmeuros == (6)=((1)+(4))*(3)"/></font></h:outputLabel>		
 
 
								<!--  -->
								<h:outputLabel><font><h:outputText value=""/></font></h:outputLabel>
								<h:outputLabel><font><h:outputText value="MONTANT TOTAL AVEC RISQUES "/></font></h:outputLabel>	
								<h:outputLabel><font><h:outputText value=""/></font></h:outputLabel>	
								<h:outputLabel><font><h:outputText value=""/></font></h:outputLabel>	
								<h:inputText id="montanttotalavecrisquesjours" value="#{CoutobjectifachatBean.coutcible.montanttotalavecrisquesjours}" disabled="true" ><f:convertNumber groupingUsed="#{true}" maxFractionDigits="1" ></f:convertNumber></h:inputText>	
								<h:outputLabel><font><h:outputText value="j"/></font><font><h:outputText style="color:red" value=" (13)" title= "Montant total avec risques jours = Total jours + Risques jours == (13)=(5)+(8)"/></font></h:outputLabel>		
								<h:inputText id="montanttotalavecrisqueskeur" value="#{CoutobjectifachatBean.coutcible.montanttotalavecrisqueskeur}" disabled="true" ><f:convertNumber groupingUsed="#{true}" maxFractionDigits="0" ></f:convertNumber></h:inputText>			
								<h:outputLabel><font><h:outputText value="EUR"/></font><font><h:outputText style="color:red" value=" (14)" title= "Montant total avec risques kEUR = Total kEUR + Risques kEUR == (14)=(6)+(9)"/></font></h:outputLabel>		
							</h:panelGrid>	
 
						</rich:panel>
					<rich:panel style="position:relative;bottom:320px;left:-180px;width:160px;border:0">
 
							<h:outputLabel><font><u><h:outputText value="Aide pour les formules :" /></u></font></h:outputLabel>
							<br/>
							<br/>
							<h:panelGrid columns="1" >
							<h:outputLabel><font><h:outputText style="color:red" value="(4)=(1)*(2)"/></font></h:outputLabel>	
							<h:outputLabel><font><h:outputText style="color:red" value="(5)=(1)+(2)"/></font></h:outputLabel>	
							<h:outputLabel><font><h:outputText style="color:red" value="(6)=((1)+(4))*(3)"/></font></h:outputLabel>		
							</h:panelGrid>	
					</rich:panel>
					<rich:panel style="position:relative;bottom:280px;left:-180px;width:160px;border:0">
 
							<h:outputLabel><font><u><h:outputText value="Aide pour les formules :" /></u></font></h:outputLabel>
							<br/>
							<br/>
							<h:panelGrid columns="1" >
							<h:outputLabel><font><h:outputText style="color:red" value="(8)=(7)*(5)"/></font></h:outputLabel>
							<h:outputLabel><font><h:outputText style="color:red" value="(9)=(7)*(6)"/></font></h:outputLabel>
							<h:outputLabel><font><h:outputText style="color:red" value="(11)=(7)*(5)"/></font></h:outputLabel>	
							<h:outputLabel><font><h:outputText style="color:red" value="(12)=(10)*(6)"/></font></h:outputLabel>
							<h:outputLabel><font><h:outputText style="color:red" value="(13)=(5)+(8)-(11)"/></font></h:outputLabel>
							<h:outputLabel><font><h:outputText style="color:red" value="(14)=(6)+(9)-(12)"/></font></h:outputLabel>	
 
							</h:panelGrid>	
					</rich:panel>
					<rich:panel style="position:relative;bottom:220px;left:-180px;width:160px;border:0">
 
							<h:outputLabel><font><u><h:outputText value="Aide pour les formules :" /></u></font></h:outputLabel>
							<br/>
							<br/>
							<h:panelGrid columns="1" >
							<h:outputLabel><font><h:outputText style="color:red" value="(16)=(17)/(3)"/></font></h:outputLabel>	
							<h:outputLabel><font><h:outputText style="color:red" value="(17)=(15)*(6)"/></font></h:outputLabel>	
							<h:outputLabel><font><h:outputText style="color:red" value="(19)=((14)-(17))/(18)"/></font></h:outputLabel>	
							</h:panelGrid>	
					</rich:panel>
 
					<rich:panel style="position:relative;bottom:330px;left:0px;width:980px;">
 
							<h:outputLabel><font><u><h:outputText value="BUY : Si les travaux sont  sous traités " /></u></font></h:outputLabel>
							<br/>
							<br/>
							<!-- Petit panel de 2 colonnes où dans chaque colonne est placé un composant -->
							<h:panelGrid columns="7" >
 
								<!-- Petit composant qui ai une échelle de pourcentage pour suivi du fournisseur (FRN), la value de inputNumberSlider sera à modifier -->
								<h:outputLabel><font><h:outputText value="Part de suivi du FRN par TSA"/></font><font><h:outputText style="color:red" value=" (15) :"/></font></h:outputLabel>	
								<h:inputText id="suivifournisseur" converter="#{Integer}" required="true" value="#{CoutobjectifachatBean.coutcible.suivifrn}" />								
 
								<a4j:support event="onkeyup" reRender="chargetransversejour,totaljours,totalkeur,montanttotalsansrisqueskeur,montanttotalsansrisquesjours,montanttotalavecrisqueskeur,montanttotalavecrisquesjours,suivifournisseureuros,suivifournisseurjours,tjmeuros,risqueslitigesjours,opprotunitesjours,risqueslitigesmontanteuros,opprotunitesmontanteuros,mandat,coefk" />														 
								<h:outputLabel><font><h:outputText value="% soit"/></font></h:outputLabel>					
								<h:inputText id="suivifournisseurjours" value="#{CoutobjectifachatBean.coutcible.suivifournisseurjours}" disabled="true"  ><f:convertNumber groupingUsed="#{true}" maxFractionDigits="1" ></f:convertNumber></h:inputText>		
								<h:outputLabel><font><h:outputText value="j"/></font><font><h:outputText style="color:red" value=" (16)" title= "Suivi FRN jours = Suivi FRN kEUR / Tjmeuros == (16)=(17)/(3)"/></font></h:outputLabel>		
								<h:inputText id="suivifournisseureuros" value="#{CoutobjectifachatBean.coutcible.suivifournisseureuros}" disabled="true"  ><f:convertNumber groupingUsed="#{true}" maxFractionDigits="0" ></f:convertNumber></h:inputText>				
								<h:outputLabel><font><h:outputText value="EUR"/></font><font><h:outputText style="color:red" value=" (17)" title= "Suivi FRN kEUR = Suivi FRN * Total kEUR == (17)=(15)*(6)"/></font></h:outputLabel>	
 
 
 
 
								<!-- Petit panel de 4 colonnes où dans chaque colonne est placé un composant -->
								<h:panelGrid columns="2" >	
 
									<h:outputLabel><font><h:outputText value="Coef d'appro : "/></font><font><h:outputText style="color:red" value=" (18) :"/></font></h:outputLabel>
 
									<!-- Choisir une entite dans la liste déroulante -->
									<h:selectOneMenu id="coef" value="#{CoutobjectifachatBean.idCoefappro}" >
										<f:selectItems value="#{CoutobjectifachatBean.listCoefappro}" />
										<a4j:support event="onchange" actionListener="#{CoutobjectifachatBean.coefapproByID}" reRender="chargetransversejour,totaljours,totalkeur,montanttotalsansrisqueskeur,montanttotalsansrisquesjours,montanttotalavecrisqueskeur,montanttotalavecrisquesjours,suivifournisseureuros,suivifournisseurjours,tjmeuros,risqueslitigesjours,opprotunitesjours,risqueslitigesmontanteuros,opprotunitesmontanteuros,mandat,coefk" />
									</h:selectOneMenu>
 
									<h:outputLabel><font><h:outputText value="Coef "/></font><font><h:outputText style="color:red" value="(18) :"/></font></h:outputLabel>		
									<h:inputText id="coefk"  value="#{CoutobjectifachatBean.coutcible.k}" disabled="true"  />
 
 
								</h:panelGrid>
								<!-- Fin petit panel -->	
 
 
 
							</h:panelGrid>	
							<h:panelGrid columns="3" >	
 
								<h:outputLabel><font><h:outputText value="PART MAXIMALE (MANDAT)"/></font><font><h:outputText style="color:red" value=" (19) = " title= "MANDAT = (Total kEUR - Suivi FRN kEUR) / Coeff d'appro == (19)=((6)-(17))/(18)"/></font></h:outputLabel>	
								<h:inputText id="mandat" value="#{CoutobjectifachatBean.coutcible.mandat}" disabled="true" ><f:convertNumber groupingUsed="#{true}" maxFractionDigits="0" ></f:convertNumber></h:inputText>			
								<h:outputLabel><font><h:outputText value="kEUR"/></font></h:outputLabel>	
 
							</h:panelGrid>	
							<!-- Fin petit panel -->
 
							<h:message style="color: red; text-decoration: none;margin-left:100px;" id="registerError" for="cBValider"/><br />
 
						</rich:panel>
 
							<h:panelGroup style="position:relative;bottom:300px;margin-left:160px;">
								<h:commandButton id="cBValider" action="#{CoutobjectifachatBean.valider}"  value="OK" title="Cliquez ici pour insérer un cout cible dans la base"  /><rich:spacer width="10px" />
								<a4j:commandButton action="#{CoutobjectifachatBean.annuler}" value="Annuler" reRender="BesoinForm"/>			
							</h:panelGroup>
 
					</h:form>
 
		  		</div>
		    </div>
 
    <div id="footer">
      <hr />
 
    </div>
 
</f:view>
</body>
</html>

Merci d'avance de votre aide.