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
| <ui:composition xmlns="http://www.w3.org/1999/xhtml"
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:a4j="http://richfaces.org/a4j"
xmlns:rich="http://richfaces.org/rich">
<f:view>
<html>
<body>
<h:form>
<table width="100%" height="150"
background="C:\Users\win 7\Documents\Nouveau dossier\cv.jpg">
<tr>
<td valign="top"><img
src="C:\Users\win 7\Documents\Nouveau dossier\header-object.png"></img>
</td>
<td>
<h2>
<font color="red">Bienvenue Dans L'espace De Modification </font>
</h2>
</td>
</tr>
</table>
<br></br>
<br></br>
<br></br>
<div align="center">
<rich:panel>
<f:facet name="header">
<h:outputText value="Informations Contact"></h:outputText>
</f:facet>
<table>
<tr>
<td><h:outputText value="Numero Pièce" /></td>
<td><h:inputText id="pièce" value="#{ctCtr.numPieceCnt}"
required="true" />
</td>
<td><h:message for="pièce" /></td>
</tr>
<tr>
<td><h:outputText value="Type Pièce" /></td>
<td><h:selectOneMenu value="#{ctCtr.codTpceCnt}" id="code">
<f:selectItem itemLabel="P" itemValue="P" />
<f:selectItem itemLabel="C" itemValue="C" />
</h:selectOneMenu>
</td>
<td><h:message for="code" /></td>
</tr>
<tr>
<td><h:commandButton value="Chercher"
action="#{ctCtr.findContact}">
</h:commandButton>
</td>
<td><h:commandButton value="Quitter" action="#{ctCtr.exit}">
</h:commandButton>
</td>
</tr>
</table>
</rich:panel>
</div>
<div align="center">
<rich:panel rendered="#{ctCtr.afficher}">
<f:facet name="header">
<h:outputText value="Modifier Contact"></h:outputText>
</f:facet>
<table>
<tr>
<td><h:outputText value="Nom" rendered="#{ctCtr.afficher}" />
</td>
<td><h:inputText id="Nom" value="#{ctCtr.nomNomCnt}"
rendered="#{ctCtr.afficher}" required="true" />
</td>
<td><h:message for="Nom" /></td>
</tr>
<tr>
<td><h:outputText value="Prènom" rendered="#{ctCtr.afficher}" />
</td>
<td><h:inputText id="Prènom" value="#{ctCtr.nomPreCnt}"
rendered="#{ctCtr.afficher}" required="true" />
</td>
<td><h:message for="Prènom" /></td>
</tr>
<tr>
<td><h:outputText value="Numero Gsm"
rendered="#{ctCtr.afficher}" /></td>
<td><h:inputText id="Gsm" value="#{ctCtr.numGsmCnt}"
rendered="#{ctCtr.afficher}" required="true" />
</td>
<td><h:message for="Gsm" /></td>
</tr>
<tr>
<td><h:outputText value="Adresse"
rendered="#{ctCtr.afficher}" /></td>
<td><h:inputText id="adr" value="#{ctCtr.adrAdrCnt}"
rendered="#{ctCtr.afficher}" required="true" />
</td>
<td><h:message for="adr" /></td>
</tr>
<tr>
<td></td>
<td><h:commandButton style="background-color:pink;"
action="#{ctCtr.UpdateContact}" value="Modifier" /></td>
</tr>
</table>
</rich:panel>
</div>
</h:form>
</body>
</html>
</f:view>
</ui:composition> |
Partager