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
| <%@ page language="java" %>
<%@ page import="org.apache.struts.action.Action" %>
<%@ page import="org.apache.struts.action.ActionErrors" %>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
<%@ taglib uri="/WEB-INF/struts-pfol.tld" prefix="pfol" %>
<%@ taglib uri="/WEB-INF/struts-pfol.tld" prefix="structure" %>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
<html:html locale="true">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title><bean:message key="simulerUtilisateur.rechercheUtilisateur.titre"/></title>
<link rel="STYLESHEET" type="text/css" HREF="/html/style.css"/>
<link rel="STYLESHEET" type="text/css" HREF="/html/stylemenucontextuel.css"/>
</head>
<script language="javascript">
// --------------------------------------------------------------------
// FONCTION : AfficheStatus
// ENTREE : une chaine
// SORTIE : rien
// Affiche un message dans la barre de status
// --------------------------------------------------------------------
function cacherFrame()
{
window.parent.FRAMESET_MENU.cols="0,*"
}
function montrerFrame()
{
window.parent.FRAMESET_MENU.cols="200,*"
}
function test( )
{
//alert (document.principale.secondaire.menu.cols.value) ;
window.FRAMESET_MENU=document.getElementById('menu');
}
function valider() {
if ((document.forms["SimulerRechercheForm"].elements["identifiant"].value=="") &&
(document.forms["SimulerRechercheForm"].elements["nom"].value=="")){
alert("Veuillez saisir au moins un critére de recherche");
return false;
}
else{
return true;
}
}
function transformerMinMaj() {
var chaine="";
chaine = document.forms["SimulerRechercheForm"].elements["indentifiant"].value.toUpperCase();
return chaine;
}
</script>
<body onLoad="cacherFrame();">
<table border="0" width="550" cellspacing="0" cellpadding="0">
<tr>
<td class="titreOrange">
<bean:message key="simulerUtilisateur.rechercheUtilisateur.libelle"/> </td>
</tr>
</table>
<html:form action="/simulerRechercheUtilisateur" focus="identifiant" onsubmit="return valider()" >
<table border="0" width="550" cellspacing="0" cellpadding="0">
<tr>
<th height="23" class="enteteOrange"> critères de recherche </th>
</tr>
</table>
<br>
<table border="0" width="550" cellspacing="0" cellpadding="0">
<tr>
<td colspan="3" class="orange">
<logic:present name="notExist">
<bean:define id="errorMessage" name="notExist" />
<bean:message key="<%=(String)errorMessage%>"/>
</logic:present>
</td>
<td> </td>
</tr>
<tr>
<td width="150" align="left" class="font1"><bean:message key="simulerUtilisateur.rechercheUtilisateur.veuillezsaisir"/></td>
<td> </td>
<tr>
<tr>
<%--<td width="200" align="left" class="txtNoir" style="padding-left: 10px;"><jsp:getProperty name="infoRecherche" property="message" /></td>--%>
<td width="200" align="left" class="txtNoir"> </td>
<td width="150" align="left" class="txtOrange"> </td>
</tr>
<tr>
<td align="left" class="font1" width="180"> <bean:message key="simulerUtilisateur.rechercheUtilisateur.identifiant"/> : </td>
<td width="200" align="left" class="txtNoir">
<html:text property="identifiant" maxlength="25" size="15"/>
</td>
<td width="150" align="right" class="txtOrange"> </td>
</tr>
<tr>
<td align="left" class="font1" width="180"> ou </td>
</tr>
<tr>
<td align="left" class="font1" width="180"> <bean:message key="simulerUtilisateur.rechercheUtilisateur.nom"/> : </td>
<td width="200" align="left" class="txtNoir">
<html:text property="nom" maxlength="40" size="15"/>
</td>
<td width="150" align="right" class="txtOrange"> </td>
</tr>
</table>
<br>
<table border="0" width="550" cellspacing="0" cellpadding="0">
<tr>
<td style="padding-left: 10px;">
<input type="image" src='<bean:message key="commun.image.btvalider"/>' border: none;" border="0">
</td>
<td align="right" style="padding-right: 10px;">
<a href="javascript:popup=window.open('/html/aide_recherche_utilisateur.html','popup','toolbar=no,directories=no,status=0,menubar=0,scrollbars=yes,resize=false,resizable=0,top=100,left=100,width=586,height=400');popup.focus()"><img border="0" src='<bean:message key="histoActions.bouton.aide" />'></a>
</td>
</tr>
</table>
</html:form>
</body>
</html:html> |
Partager