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
|
<%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%>
<%@ 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">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Insert title here</title>
</head>
<body>
<f:view>
<h:form>
<h:messages></h:messages>
<h:panelGrid columns="2"
columnClasses="rightAlign,leftAlign">
<h:outputText value="Identifiant:">
</h:outputText>
<h:inputText label="Identifiant"
value="#{accountContoller.id}"
required="true">
</h:inputText>
<h:outputText value="Nom:"></h:outputText>
<h:inputText label="Nom"
value="#{accountContoller.nom}"
required="true">
<f:validateLength minimum="2"
maximum="30"></f:validateLength>
</h:inputText>
<h:outputText value="Prenom:">
</h:outputText>
<h:inputText label="Prenom" value="#{accountContoller.prenom}">
<f:validateLength minimum="3"
maximum="30"></f:validateLength>
</h:inputText>
<h:panelGroup></h:panelGroup>
<h:commandButton value="Create Client"
action="#{accountContoller.docreateClients}" type="submit"></h:commandButton>
</h:panelGrid>
</h:form>
</f:view>
</body>
</html> |
Partager