Bonsoir , j'ai un code et je sais pas comment je peux faire les contrôles sur les différents champs
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62 <s:form action="ajouterIntervenantInterne" > <div align="center"> <table width="556" border="0"> <tr style="height:30px;"> <td width="200"><span class="Style21" style="margin-left:100px;">Nom:</span></td> <td width="300"><s:textfield key="intervenant.nom" cssStyle="height:20px;" theme="simple" /> </td> </tr> <tr style="height:30px;"> <td><span class="Style21" style="margin-left:100px;">Prenom:</span></td> <td><span class="Style21"> <label> <s:textfield key="intervenant.prenom" cssStyle="height:20px;" theme="simple" /> </label> </span></td> </tr> <tr style="height:30px;"> <td><span class="Style21" style="margin-left:100px;"> Date Naissance:</span></td> <td><span class="Style21"> <label> <sx:datetimepicker name="intervenant.date_naissance" displayFormat="dd-MM-yyyy" value="todayDate" cssClass="" /> </label> </span></td> </tr> <tr style="height:30px;"> <td><span class="Style21" style="margin-left:100px;">Lieu Naissance:</span></td> <td><span class="Style21"> <label> <s:textfield key="intervenant.lieu_naissance" cssStyle="height:20px;" theme="simple" /> </label> </span></td> </tr> <tr style="height:30px;"> <td><span class="Style21" style="margin-left:100px;"> Matricule:</span></td> <td><span class="Style21"> <label> <s:textfield key="intervenant.matricule" cssStyle="height:20px;" theme="simple" /> </label> </span></td> </tr> <tr style="height:30px;"> <td><span class="Style21" style="margin-left:100px;"> Situation:</span></td> <td><span class="Style21"> <label> <s:select name="intervenant.situation" cssStyle="height:20px;" list="#{'1':'Marie(e)', '2':'Celibataire','3':'Divorce(e)'}" theme="simple"></s:select> </label> </span></td>
Partager