<script language="JavaScript" src="../scripts/ESR-Script.js"></script>
<%@ taglib uri="/tags/fw" prefix="fw" %>
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html-el" %>
<%@ taglib uri="/tags/struts-html" prefix="html" %>
<%@ taglib uri="/tags/struts-bean-el" prefix="bean-el" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>

<c:set var="requiredText"><bean-el:message key="label.required"/></c:set>

<table width="100%" border="1" cellpadding="0" cellspacing="0" class="moduleShell" role="presentation">
<html:form action="/searchUserProfile" method="post">
  <%@ include file="/admin/csrfgentoken.jsp" %>
 <tr>
  <td>
   <table width="100%" border="0" cellpadding="0" cellspacing="0" class="moduleShellTable" role="presentation">
    <tr>
     <td>
      <table width="100%" border="0" cellpadding="0" cellspacing="0" class="moduleShellTableHead">
       <tr>
		<td class="moduleBlueBox"><img alt=""  src="../images/spacer.gif" width="28" height="23"/></td>
        <td nowrap class="moduleHeadline"><bean-el:message key="label.searchForUser"/></td>		   
        <td witdh="100%"><img alt=""  src="../images/spacer.gif"/></td>
			<td width="100%"><img alt=""  src="../images/spacer.gif"></td>
			<td nowrap class="moduleBlueLink" style="padding: 1 8 1 8">
				<fw:link action="/searchUserProfile?methodName=DISPLAY ALL">
				<bean-el:message key="label.link.viewUserProfiles"/>
				</fw:link>				
			</td>		   
       </tr>
      </table>
     </td>
    </tr>

    <tr>
     <td>
      <table width="100%" border="0" cellspacing="0" cellpadding="0" class="moduleShellTableBody" role="presentation">
      <tr>
          <td colspan="2">
            <%@ include file="/tiles/common/instructionalText.jsp" %>
          </td>
      </tr>
	  <tr>
	  <td style="padding:10 20 10 10">
		<table width="100%" border="0" cellspacing="0" cellpadding="0" role="presentation">
        <%-- Primary search Criteria --%>
        <tr>
            <td width="45%" class="moduleLabel" style="padding-right:30"><bean-el:message key="label.minimumSearchCriteria"/></td>
            <td width="55%" class="moduleValue" ><img alt=""  src="../images/spacer.gif"/></td>
        </tr>
		  
        <tr>
            <c:set var="lastnameLabel"><bean-el:message key="label.lastname"/></c:set>
            <td width="45%" class="moduleLabel" ><fw:label required="true" property="familyName" forId="txtFamilyName"><bean-el:message key="label.lastname"/>:</fw:label></td>
            <td  width="55%" class="moduleValue">
				<html-el:text title="${requiredText}, ${lastnameLabel}" property="familyName" styleId="txtFamilyName" size="25" maxlength="40" tabindex="1"/></td>
        </tr>
        <tr>
            <c:set var="firstnameLabel"><bean-el:message key="label.firstname"/></c:set>
            <td width="45%" class="moduleLabel" ><fw:label required="true" property="givenName" forId="txtGivenName"><bean-el:message key="label.firstname"/>:</fw:label></td>
            <td width="55%" class="moduleValue">
				<html-el:text title="${requiredText}, ${firstnameLabel}" property="givenName" styleId="txtGivenName" size="25" maxlength="30" tabindex="2"/></td>
        </tr>
			
		<%-- Secondary searh criteria --%>  
        <tr>
            <td width="45%" class="moduleLabel" style="padding-right:30"><bean-el:message key="label.additionalSearchCriteria"/></td>
            <td width="55%" class="moduleValue"><img alt=""  src="../images/spacer.gif"/></td>
        </tr>		  
        <tr>
            <c:set var="middlenameLabel"><bean-el:message key="label.middlename"/></c:set>
            <td width="45%" class="moduleLabel"><fw:label property="middleName" forId="txtMiddleName"><bean-el:message key="label.middlename"/>:</fw:label></td>
            <td width="55%" class="moduleValue">
				<html-el:text title="${middlenameLabel}" property="middleName" styleId="txtMiddleName" size="25" maxlength="30" tabindex="3"/></td>
        </tr>		  
        <tr>
            <c:set var="useridLabel"><bean-el:message key="label.userid"/></c:set>
            <td width="45%" class="moduleLabel"><fw:label property="name" forId="txtName"><bean-el:message key="label.userid"/>:</fw:label></td>
            <td width="55%" class="moduleValue">
				<html-el:text title="${useridLabel}" property="name" styleId="txtName" size="25" maxlength="30" tabindex="4"/></td>
        </tr>
        </table>
		</td>
	  </tr>
		    
      <%-- Button Row --%>
      <tr>
          <td height="50">
            <table width="100%" border="0" cellpadding="0" cellspacing="0">
              <tr>
                <td width="45%"><img alt=""  src="../images/spacer.gif"/></td>
                <td><img alt=""  src="../images/buttonEndLeft.gif"/></td>
                <td><html-el:submit property="methodName" style="width:50; vertical-align: top;" 
					tabindex="5" styleClass="buttonText"><bean-el:message key="button.search"/>
					</html-el:submit></td>
                <td><img alt=""  src="../images/buttonEndRight.gif"/></td>
                <td width="1%"><img alt=""  src="../images/spacer.gif"/></td>
                <td><img alt=""  src="../images/buttonEndLeft.gif"/></td>
                <td><html-el:submit property="methodName" style="width:50; vertical-align: top;" 
					tabindex="6" styleClass="buttonText"><bean-el:message key="button.clear"/>
					</html-el:submit></td>
                <td><img alt=""  src="../images/buttonEndRight.gif"/></td>				  
                <td width="1%"><img alt=""  src="../images/spacer.gif"/></td>
                <td><img alt=""  src="../images/buttonEndLeft.gif"/></td>
                <td><html-el:submit property="methodName" style="width:50; vertical-align: top;" 
					tabindex="7" styleClass="buttonText"><bean-el:message key="button.cancel"/>
					</html-el:submit></td>
                <td><img alt=""  src="../images/buttonEndRight.gif"/></td>				  				  
                <td width="45%"><img alt=""  src="../images/spacer.gif"/></td>
              </tr>
            </table>
		  </td>
	  </tr>
      </table>
     </td>
    </tr>
   </table>
  </td>
 </tr>
</html:form>
</table>