code :
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
 
<h:form id="loginForm">
 
 
	<center><ice:panelGroup>
                      <!--   les deux inputs Login et mot de passe + les deux validateurs  -->
 
			<tr>
 
 
				<td align="right"><span><ice:outputLabel value="Login"
					style="font:14px Arial;color: #000000" /><span style="color: red">*</span></span></td>
 
				<td><ice:inputText style="width: 130 px" id="Nom"
					required="True" partialSubmit="true" value="#{userBean.login}" />
				<ice:message for="Nom"
					style="color:red; line-height:100%;background: url( '../images/css-images/bullet.gif' ) no-repeat 0 3px;padding-left:15px" />
 
				</td>
 
			</tr>
 
			<tr>
 
				<td><span><ice:outputLabel value="Mot de passe"
					style="font:14px Arial;color: #000000" /><span style="color: red">*</span></span></td>
 
				<td><ice:inputSecret style="width: 130 px" id="Password"
					required="True" partialSubmit="False" value="#{userBean.pwd}" /> <ice:message
					for="Password"
					style="color:red; line-height:100%;background: url( '../images/css-images/bullet.gif' ) no-repeat 0 3px;padding-left:15px" />
 
				</td>
 
			</tr>
 
			<tr>
                           <!--   le bouton  connexion -->
 
				<td></td>
				<td align="right"><ice:commandButton id="loginSubmit"
					value="Connexion" type="submit" action="#{userBean.connect}" /></td>
 
			</tr>
 
 
 
		</table>
 
 
	</ice:panelGroup></center>
 
	<ice:panelGroup>
 
	</ice:panelGroup>
</h:form>