anchor.diff:                <% } %>
                 </font>  
               </td>
  +            <% } %>
             </tr>
           </table>
  -      <% if((request.isUserInRole(Authentication.ROLE_PROVISION)) || (request.isUserInRole(Authentication.ADMIN_ROLE)) ) { %>
  +      <%if((request.isUserInRole(Authentication.ROLE_PROVISION)) || (request.isUserInRole(Authentication.ADMIN_ROLE)) ) { %>
         </form>
   
         <% } %>
  +      
  +      <%!
  +      	private String getTextField(HttpServletRequest request, String type, String name, String value, String size, String maxLength){
  +	    	  if((request.isUserInRole(Authentication.ROLE_PROVISION)) || (request.isUserInRole(Authentication.ADMIN_ROLE))){
  +	    		  return String.format("<input type=\"%s\" name=\"%s\" value=\"%s\" size=\"%s\" maxlength=\"%s\"/>", type, name, value, size, maxLength);
  +	    	  }else{
  +	    	  	return String.format("<p>%s</p>", value);
  +	    	  }
  +      	}
  +      
  +	    private String getTextArea(HttpServletRequest request, String name, String value){
  +	    	  if((request.isUserInRole(Authentication.ROLE_PROVISION)) || (request.isUserInRole(Authentication.ADMIN_ROLE))){
  +	    		  return String.format("<textarea name=\"%s\" cols=\"100\" rows=\"15\">%s</textarea>",  name, value);
  +	    	  }else{
  +	    	  	return String.format("<p>%s</p>", value);
  +	    	  }
  +	  	}
  +      %>
   
   <jsp:include page="/includes/footer.jsp" flush="false" />
  
positive.code:           </tr>
            <tr>
              <td>Name</td>
              <td><input type="text" name="vendor" value="<%=asset.getVendor()%>" size="20" maxlength="64"/></td>
              <td>Phone</td>
              <td><input type="text" name="vendorphone" value="<%=asset.getVendorPhone()%>" size="20" maxlength="64"/></td>
              <td>Fax</td>
              <td><input type="text" name="vendorfax"  value="<%=asset.getVendorFax()%>" size="20" maxlength="64"/></td>
            </tr>
            <tr>
              <td>Lease</td>
              <td><input type="text" name="lease" value="<%=asset.getLease()%>" size="20" maxlength="64"/></td>
              <td>Lease Expires</td>
              <td><input type="text" name="leaseexpires" value="<%=asset.getLeaseExpires()%>" size="20" maxlength="64"/></td>
              <td>Vendor Asset</td>
              <td><input type="text" name="vendorassetnumber" value="<%=asset.getVendorAssetNumber()%>" size="20" maxlength="64"/></td>
            </tr>
            <tr>
              <td>Maint Contract</td>
              <td><input type="text" name="maintcontract" value="<%=asset.getMaintContract()%>" size="20" maxlength="64"/></td>
              <td>Contract Expires</td>
              <td><input type="text" name="maintcontractexpires" value="<%=asset.getMaintContractExpires()%>" size="20" maxlength="64"/></td>
              <td>Maint Phone</td>
              <td><input type="text" name="supportphone" value="<%=asset.getSupportPhone()%>" size="20" maxlength="64"/></td>
            </tr>
            <tr>
              <td colspan="6"><h3>Authentication</h3></td>
            </tr>
  
negative.code:     } 
  %>
  
  
  <%@page import="org.springframework.web.HttpRequestHandler"%><jsp:include page="/includes/header.jsp" flush="false" >
    <jsp:param name="title" value="Modify Asset" />
    <jsp:param name="headTitle" value="Modify" />
    <jsp:param name="headTitle" value="Asset" />
  