anchor.diff:          <th><div align="right">${pool.propertyNames[prop.key]}:</div></th>
           <td><input name="${prop.key}" type="<c:choose><c:when test="${fn:containsIgnoreCase(prop.key, 'password')}">password</c:when><c:otherwise>text</c:otherwise></c:choose>" size="20" value="${prop.value}"></td>
         </tr>
  +    <c:if test="${fn:containsIgnoreCase(prop.key, 'password')}">
  +      <tr>
  +        <th><div align="right">Confirm password:</div></th>
  +        <td><input name="confirm-${prop.key}" type="password" size="20" value="${prop.value}"></td>
  +      </tr>
  +      <script language="JavaScript">
  +        <portlet:namespace/>passwordFields = <portlet:namespace/>passwordFields.concat(new Array("${prop.key}"));
  +      </script>
  +    </c:if>   
         <tr>
           <td></td>
           <td>${ConfigParams[prop.key].description}</td>
  
positive.code:       <c:choose> <%-- Can't change the pool name after deployment because it's wired into all the ObjectNames --%>
          <c:when test="${empty pool.abstractName}">
            <input name="name" type="text" size="30" value="${pool.name}">
          </c:when>
          <c:otherwise>
            <input name="name" type="hidden" value="${pool.name}" />
  
negative.code: <%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>
  <%@ taglib uri="http://java.sun.com/portlet" prefix="portlet"%>
  <portlet:defineObjects/>
  
  <script language="JavaScript">
  var <portlet:namespace/>formName = "<portlet:namespace/>DatabaseForm";
  var <portlet:namespace/>requiredFields = new Array();
  var <portlet:namespace/>passwordFields = new Array();
  function <portlet:namespace/>validateForm(){
      if(!textElementsNotEmpty(<portlet:namespace/>formName,<portlet:namespace/>requiredFields))
          return false;
      if(!passwordElementsConfirm(<portlet:namespace/>formName, <portlet:namespace/>passwordFields)) {
          return false;
      }
      if(!<portlet:namespace/>validate()) {
          return false;
      }
      return true;
  }
  </script>
  
  <p>This page edits a new or existing database pool.</p>
  
  