anchor.diff:      <kul:hiddenDocumentFields isFinancialDocument="false" />
       <kul:documentOverview editingMode="${KualiForm.editingMode}"/>
       <input type="hidden" name="document.correctionChangeGroupNextLineNumber" value="<c:out value="${KualiForm.document.correctionChangeGroupNextLineNumber}" />" />
  -
  -    <input type="hidden" name="correctionFormKey" value="${correctionFormKey}">
   	
  -	<kul:tab tabTitle="Correction Process" defaultOpen="true">
  - 	
  - 	<div class="tab-container" align="center" >
  -      
  -    	<table cellpadding=0 class="datatable" summary=""> 
  -        	  <tr>
  -                    <td align="left" valign="middle" class="subhead"><span class="subhead-left"></span>Select System and Edit Method</td>
  -         	  </tr>
  -	    		<tr>
  -     	 			<td>
  -		     			<center>
  -							<html:select property="chooseSystem">
  -							<html:optionsCollection property="validOptionsMap.org|kuali|core|lookup|keyvalues|CorrectionChooseSystemValuesFinder" label="label" value="key"/>
  -							</html:select>
  -               
  -      					    <html:select property="editMethod">
  -							<html:optionsCollection property="validOptionsMap.org|kuali|core|lookup|keyvalues|CorrectionEditMethodValuesFinder" label="label" value="key"/>
  -							</html:select>
  -		
  -	    		 			<input type="image" name="methodToCall.chooseMainDropdown" 
  -                		   			src="images/tinybutton-select.gif" alt="chooseRadio" class="tinybutton" />
  -				    	  </center>
  -    				  </td>
  -	  			</tr>
  -		</table>
  - 	</div>
  - 	<c:if test="${KualiForm.chooseSystem == null && KualiForm.editMethod == null}" >
  - 	   <div class="tab-container" align="center"> 
  -            <table cellpadding=0 class="datatable" summary="">
  -            
  -            <tr>
  -	             <td align="left" valign="middle" class="subhead"><span class="subhead-left"></span>Previous Error Correction</td>
  -            </tr>
  -            <tr>
  -                <td colspan="2" class="bord-l-b" style="padding: 4px; vertical-align: top;"> 
  -                    <center>
  -                        <label for="pending-origin-entry-group-id"><strong>GLCP Origin Entry Group</strong></label><br/><br/>
  -                        
  -                        <html:select property="oldDocId" size="10" >
  -							<html:optionsCollection property="validOptionsMap.org|kuali|core|lookup|keyvalues|PreviousGLCPDocuFinder" label="label" value="key" />
  -						</html:select>
  -                        
  -                        
  -                        
  -                        <br/><br/> 
  -                        
  -	                        <input type="image" name="methodToCall.showPreviousCorrectionFiles" 
  -			                	   src="images/tinybutton-loaddoc.gif" alt="show all entries for manual edit" class="tinybutton" />
  -							
  -                    </center>
  -                </td>
  -            </tr>
  -        </table> 
  -    
  - 	</div>
  - 	
  - 	</c:if>
  -
  - 	 <c:if test="${KualiForm.chooseSystem == 'file'}" >
  -   		 <!--  File upload control -->
  -   			 <div class="tab-container" align="center"> 
  -    
  -     		   <div class="h2-container">
  -    		   	 <h2>Corrections File Upload</h2>
  -    	       </div>
  -      		  <table cellpadding=0 class="datatable" summary=""> 
  - 	           	<tr>
  -    	            <td class="bord-l-b" style="padding: 4px;">
  -        	        
  -        	        
  -        	        <html:file size="30" property="sourceFile" />
  -        	        <html:image property="methodToCall.uploadFile" src="images/tinybutton-loaddoc.gif"
  -                                    styleClass="tinybutton" alt="uploadFile" />
  -        	     	</td>	    	    
  -               	</tr>
  -	        	</table>
  -   			 </div>
  -    </c:if>
  - 
  -	
  -            
  -
  -
  -<c:if test="${KualiForm.chooseSystem == 'system'}" >
  -      	
  -          <div class="tab-container" align="center"> 
  -            <table cellpadding=0 class="datatable" summary="">
  -            
  -            <tr>
  -	             <td align="left" valign="middle" class="subhead"><span class="subhead-left"></span>Documents in System</td>
  -            </tr>
  -            <tr>
  -                <td colspan="2" class="bord-l-b" style="padding: 4px; vertical-align: top;"> 
  -                    <center>
  -                        <label for="pending-origin-entry-group-id"><strong>Origin Entry Group</strong></label><br/><br/>
  -                        
  -                        <html:select property="groupIdList" size="10" >
  -							<html:optionsCollection property="validOptionsMap.org|kuali|core|lookup|keyvalues|CorrectionPendingGroupEntriesFinder" label="label" value="key" />
  -						</html:select>
  -                        
  -                        
  -                        
  -                        <br/><br/>  
  -
  -
  -							
  -	                        <input type="image" name="methodToCall.readDocument"  
  -			                	   src="images/tinybutton-loaddoc.gif" alt="show all entries for manual edit" class="tinybutton" />
  -			               	
  -							Copy To Desktop 
  -							<input type="image" name="methodToCall.saveToDesktop" 
  -									src="images/tinybutton-copy2.gif" alt="saveToDeskTop" class="tinybutton" onclick="excludeSubmitRestriction=true" />
  -									
  -							Delete Document
  -							<input type="image" name="methodToCall.confirmDeleteDocument" 
  -									src="images/tinybutton-delete1.gif" alt="deleteDocument" class="tinybutton" />
  -							
  -			                   
  -			                   
  -			         
  -                    </center>
  -                </td>
  -            </tr>
  -        </table> 
  -    
  - 	</div>
  -
  -</c:if>
  -
  -<c:if test="${KualiForm.editMethod == 'criteria'}" >	
  - <div class="tab-container" align="center"> 
  - 
  -            <table cellpadding=0 class="datatable" summary="">
  -       			 <tr>
  -                    <td align="left" valign="middle" class="subhead"><span class="subhead-left">Edit Options and Action</span></td>
  -                </tr>
  -          	  
  -            <tr>
  -            	<td>
  -					<center>
  -						<html:checkbox property="deleteOutput" title="deleteOutput"/> <STRONG> Delete output file? </STRONG> &nbsp; &nbsp; &nbsp; &nbsp;
  -						<html:checkbox property="matchCriteriaOnly" alt="matchCriteriaOnly"/> <STRONG> Output only recoreds which match criteria? </STRONG>
  -					</center>
  -				</td>
  -			</tr>
  -			<tr>
  -				<td>
  -					<center>
  -						
  -						<%--
  -						<c:if test="${KualiForm.chooseSystem == 'system'}" >	
  -	    		   			<input type="image" name="methodToCall.searchAndReplaceWithCriteria" 
  -	  				         	  src="images/buttonsmall_errcorr.gif" alt="error correction" class="tinybutton" /> 
  -			    	    </c:if>
  -				
  -		  	            <c:if test="${KualiForm.chooseSystem == 'file'}" >
  -							<input type="image" name="methodToCall.fileUploadSearchAndReplaceWithCriteria" 
  -				 		       	src="images/buttonsmall_errcorr.gif" alt="error correction" class="tinybutton" />
  -						</c:if>	
  -						--%>
  -				
  -				
  -						<STRONG>Show Output file<STRONG>
  -						<input type="image" name="methodToCall.showOutputFile" 
  -								  src="images/tinybutton-show.gif" alt="showOutputFile" class="tinybutton" />
  -					
  -					</center>
  -				</td>
  -			</tr>
  -		</table>				  
  -	</div>	
  -</c:if>
  -             
  -           
  -             
  -             
  -             
  -      
  - <c:if test="${KualiForm.editMethod == 'criteria'}" >
  -    <!-- Search criteria control -->
  -    <div class="tab-container" align="center"> 
  -    
  -        <kul:errors keyMatch="searchFieldError" />
  -    
  -        <table cellpadding=0 class="datatable" summary="">
  -        
  -            <tr>
  -                <td align="left" valign="middle" class="subhead"><span class="subhead-left">Search Criteria</span></td> 
  -                <td align="left" valign="middle" class="subhead"><span class="subhead-left">Modification Criteria</span></td>
  -            </tr>
  -            
  -            
  -               <c:forEach var="group" items="${ KualiForm.document.correctionChangeGroup}"> 
  -                   <tr>
  -                       <td colspan="2" align="left" class="bord-l-b" style="padding: 4px; vertical-align: top;"> 
  -                           <strong>Group:</strong> 
  -                           
  -                           <%--
  -                           <c:out value="${groupCounter}" /> 
  -                           <c:set var="groupCounter" value="${groupCounter + 1}" />                           
  -                           --%>
  -                           
  -                           <input type="image" 
  -                            name="methodToCall.removeCorrectionGroup.group<c:out value="${group.correctionChangeGroupLineNumber}" />" 
  -                            src="images/tinybutton-delete1.gif" alt="delete correction group" class="tinybutton" />
  -                       </td>
  -                   </tr>
  -                <tr style="border-bottom: 1px solid #333;"> 
  -                    <td class="bord-l-b" style="padding: 4px; vertical-align: top;">
  -                        <input type="hidden" name="correction-groups[<c:out 
  -                            value="${group.correctionChangeGroupLineNumber}" />][group-number]" value="" /> 
  -                        <input type="hidden" name="correction-groups[<c:out 
  -                            value="${group.correctionChangeGroupLineNumber}" />][next-search-criterion-number]" value="<c:out 
  -                            value="${group.correctionCriteriaNextLineNumber}" />" /> 
  -                        <input type="hidden" name="correction-groups[<c:out 
  -                            value="${group.correctionChangeGroupLineNumber}" />][next-replacement-specification-number]" value="<c:out 
  -                            value="${group.correctionChangeNextLineNumber}" />" />
  -                        <c:forEach items="${group.correctionCriteria}" var="criterion"> 
  -                            <div>
  -                                <label for="correction-groups[<c:out value="${group.correctionChangeGroupLineNumber }" />][search-criteria][<c:out 
  -                                    value="${criterion.correctionCriteriaLineNumber}" />][field-name]">Field</label>
  -                                <select id="correction-groups[<c:out value="${ group.correctionChangeGroupLineNumber}" />][search-criteria][<c:out 
  -                                    value="${criterion.correctionCriteriaLineNumber}" />][field-name]"
  -                                      name="correction-groups[<c:out value="${ group.correctionChangeGroupLineNumber}" />][search-criteria][<c:out 
  -                                        value="${criterion.correctionCriteriaLineNumber}" />][field-name]">
  -                                    <option value="" selected>Select Search Criteria</option> 
  -            	                        <c:forEach var="fieldName" items="${KualiForm.fieldNames}">
  -                	                        <option value="<c:out value="${fieldName.value}" />"<c:if 
  -                    	                        test="${fieldName.value eq criterion.correctionFieldName}"> selected="true"</c:if>>
  -                        	                    <c:out value="${fieldName.value}" /> 
  -                            	            </option>
  -                                	    </c:forEach>
  -                                </select>
  -                                <label for="correction-groups[<c:out value="${ group.correctionChangeGroupLineNumber}" />][search-criteria][<c:out 
  -                                    value="${criterion.correctionCriteriaLineNumber}" />][operator]">Operator</label>
  -                                <select id="correction-groups[<c:out value="${ group.correctionChangeGroupLineNumber}" />][search-criteria][<c:out 
  -                                    value="${criterion.correctionCriteriaLineNumber}" />][operator]"
  -                                  name="correction-groups[<c:out value="${ group.correctionChangeGroupLineNumber}" />][search-criteria][<c:out 
  -                                    value="${criterion.correctionCriteriaLineNumber}" />][operator]">
  -                                    <c:forEach var="operator" items="${KualiForm.searchOperators}">
  -                                        <option value="<c:out value="${operator.key }" />"<c:if 
  -                                            test="${operator.key eq criterion.operator}">selected="true"</c:if>><c:out 
  -                                            value="${ operator.value}" /></option>
  -                                    </c:forEach>
  -                                </select>
  -                                <label for="correction-groups[<c:out value="${ group.correctionChangeGroupLineNumber}" />][search-criteria][<c:out 
  -                                    value="${criterion.correctionCriteriaLineNumber}" />][field-value]">Value</label>
  -                                <input id="correction-groups[<c:out value="${ group.correctionChangeGroupLineNumber}" />][search-criteria][<c:out 
  -                                    value="${criterion.correctionCriteriaLineNumber}" />][field-value]"
  -                                    value="${ criterion.correctionFieldValue}"
  -                                    name="correction-groups[<c:out value="${group.correctionChangeGroupLineNumber}" />][search-criteria][<c:out 
  -                                    value="${ criterion.correctionCriteriaLineNumber}" />][field-value]" type="text">
  -                                <input type="image" 
  -                                    name="methodToCall.removeSearchCriterion.criterion <c:out value="${criterion.correctionChangeGroupLineNumber}" />-<c:out 
  -                                        value="${criterion.correctionCriteriaLineNumber}" />" 
  -                                    src="images/tinybutton-delete1.gif" alt="delete search criterion" class="tinybutton" />
  -                            </div>
  -                        </c:forEach>
  -
  -                        
  -                        <div>
  -                            <label for="correction-groups[<c:out value="${group.correctionChangeGroupLineNumber}" />][search-criteria][field-name]">Field</label> 
  -                            <select id="correction-groups[<c:out value="${group.correctionChangeGroupLineNumber}" />][search-criteria][field-name]"
  -                                  name="correction-groups[<c:out value="${ group.correctionChangeGroupLineNumber}" />][search-criteria][field-name]">
  -                                <option value="" selected="selected">Select Search Criteria</option>
  -                                <c:forEach var="fieldName" items="${ KualiForm.fieldNames}"><option value="<c:out 
  -                                    value="${fieldName.value}" />"><c:out value="${fieldName.value}" /></option></c:forEach> 
  -                            </select>
  -                            <label for="correction-groups[<c:out value="${group.correctionChangeGroupLineNumber}" />][search-criteria][operator]">Operator</label> 
  -                            <select id="correction-groups[<c:out value="${group.correctionChangeGroupLineNumber}" />][search-criteria][operator]"
  -                                  name="correction-groups[<c:out value="${ group.correctionChangeGroupLineNumber}" />][search-criteria][operator]">
  -                                <c:forEach var="operator" items="${ KualiForm.searchOperators}">
  -                                <option value="<c:out value="${operator.key}" />" <c:if test="${operator.key =='eq'}">selected="true"</c:if>><c:out value="${operator.value}" />  </option> 
  -
  -                                </c:forEach>
  -                            </select>
  -                            <label for="correction-groups[<c:out value="${group.correctionChangeGroupLineNumber}" />][search-criteria][field-value]">Value</label> 
  -                            <input id="correction-groups[<c:out value="${group.correctionChangeGroupLineNumber}" />][search-criteria][field-value]"
  -                                  name="correction-groups[<c:out value="${ group.correctionChangeGroupLineNumber}" />][search-criteria][field-value]" 
  -                                  type="text">
  -                            <html:image property="methodToCall.addSearchCriterion" src="images/tinybutton-add1.gif" 
  -                                alt="add search criteria" styleClass="tinybutton" />
  -                        </div>
  -                        
  -                    </td> 
  -                    <td class="bord-l-b" style="padding: 4px; vertical-align: top;">
  -                        <c:forEach var="specification" items="${group.correctionChange }">
  -
  -                           
  -                            <div>
  -                                <label for="correction-groups[<c:out value="${ group.correctionChangeGroupLineNumber}" />][replacement-specifications][<c:out 
  -                                    value="${specification.correctionChangeLineNumber}" />][field-name]">Field</label>
  -                                <select id="correction-groups[<c:out value="${ group.correctionChangeGroupLineNumber}" />][replacement-specifications][<c:out 
  -                                        value="${specification.correctionChangeLineNumber}" />][field-name]" 
  -                                    name="correction-groups[<c:out value="${ group.correctionChangeGroupLineNumber}" />][replacement-specifications][<c:out 
  -                                        value="${specification.correctionChangeLineNumber}" />][field-name]">
  -                                    <c:forEach var="fieldName" items="${ KualiForm.fieldNames}">
  -                                        <option value="<c:out value="${fieldName.value}" />"<c:if 
  -                                            test="${fieldName.value eq specification.correctionFieldName}"> selected="true"</c:if>>
  -                                            <c:out value="${fieldName.value}" />
  -                                        </option> 
  -                                    </c:forEach>
  -                                </select>
  -                                <label for="correction-groups[<c:out value="${group.correctionChangeGroupLineNumber }" />][replacement-specifications][<c:out 
  -                                    value="${specification.correctionChangeLineNumber}" />][replacement-value]">Replacement Value</label>
  -                                <input type="text" 
  -                                    name="correction-groups[<c:out value="${group.correctionChangeGroupLineNumber}" />][replacement-specifications][<c:out 
  -                                        value="${ specification.correctionChangeLineNumber}" />][replacement-value]" 
  -                                    value="<c:out value="${specification.correctionFieldValue}" />"
  -                                    id="correction-groups[<c:out value="${ group.correctionChangeGroupLineNumber}" />][replacement-specifications][<c:out 
  -                                        value="${specification.correctionChangeLineNumber}" />][replacement-value]">
  -                                <input type="image" 
  -                                    name="methodToCall.removeReplacementSpecification.specification<c:out value="${specification.correctionChangeGroupLineNumber}" />-<c:out 
  -                                    value="${ specification.correctionChangeLineNumber}" />" 
  -                                    src="images/tinybutton-delete1.gif" alt="delete search specification" class="tinybutton" />
  -                            </div>
  -                        </c:forEach>
  -
  -                       
  -                        <div>
  -                            <label for="correction-groups[<c:out value="${group.correctionChangeGroupLineNumber}" />][replacement-specifications][field-name]">Field</label> 
  -                            <select id="correction-groups[<c:out value="${group.correctionChangeGroupLineNumber}" />][replacement-specifications][field-name]"
  -                                name="correction-groups[<c:out value="${ group.correctionChangeGroupLineNumber}" />][replacement-specifications][field-name]">
  -                                <option value="" selected="selected">Specify Modification</option>
  -                                <c:forEach var="fieldName" items="${ KualiForm.fieldNames}"><option value="<c:out 
  -                                    value="${fieldName.value}" />"><c:out value="${fieldName.value}" /></option></c:forEach> 
  -                            </select>
  -                            <label for="correction-groups[<c:out value="${group.correctionChangeGroupLineNumber}" />][replacement-specifications][replacement-value]">Replacement 
  -                                Value</label>
  -                            <input type="text" name="correction-groups[<c:out 
  -                                value="${group.correctionChangeGroupLineNumber }" />][replacement-specifications][replacement-value]" 
  -                                id="correction-groups[<c:out value="${group.correctionChangeGroupLineNumber}" />][replacement-specifications][replacement-value]"> 
  -                            <html:image property="methodToCall.addReplacementSpecification" src="images/tinybutton-add1.gif" 
  -                                alt="add replacement specification" styleClass="tinybutton" /> 
  -                        </div>
  -
  -                        
  -			                   
  -			                   
  -			                   
  -                  
  -                </tr>
  -            </c:forEach>
  -			
  -			<tr>
  -            	<td colspan="2" align="left" class="bord-l-b" style="padding: 4px; vertical-align: top;"> 
  -					<center>
  -			            <STRONG>Add Groups </STRONG> 
  -    			        <input type="image" name="methodToCall.addCorrectionGroup" 
  -            		       src="images/tinybutton-add1.gif" alt="add correction group" class="tinybutton" /> 
  -            		 <center>
  -        	    </td>
  -            
  -            </tr>
  -		 		                   
  -	</table>
  -	
  -</div>
  -</c:if>
  - 
  - 
  - 
  +	<kul:tab tabTitle="Correction Process" defaultOpen="true" tabErrorKey="Correction Process">
  + 	
  + 	
  + 	
  + 	
  + 	 
    
       <!--  Search Results Control -->
   	<div class="tab-container" align="left" style="overflow: scroll; max-width: 100%;">
  
positive.code:                       
  					                    
  					<display:table class="datatable-100" cellspacing="0" requestURIcontext="false" cellpadding="0" name="${KualiForm.allEntries}" id="allEntries" pagesize="10"
                        requestURI="generalLedgerCorrection.do?methodToCall=viewResults&correctionFormKey=${correctionFormKey}&document.financialDocumentNumber=${KualiForm.document.documentHeader.financialDocumentNumber}" >
               		  
               <%--		 <display:table class="datatable-100" cellspacing="0" requestURIcontext="false" cellpadding="0" name="${reqSearchResults}" id="allEntries" > --%>
  
  
negative.code: 			
  			--%>
  		</c:if>  
  	</div>
   </c:if>
        
      
   	
   	
   	
   	
   	
   	
   	
   	<div class="tab-container" align="center" >
        
      	<table cellpadding=0 class="datatable" summary=""> 
          	  <tr>
                      <td align="left" valign="middle" class="subhead"><span class="subhead-left"></span>Select System and Edit Method</td>
           	  </tr>
  	    		<tr>
       	 			<td>
  		     			<center>
  							<html:select property="chooseSystem">
  							<html:optionsCollection property="validOptionsMap.org|kuali|core|lookup|keyvalues|CorrectionChooseSystemValuesFinder" label="label" value="key"/>
  							</html:select>
                 
        					    <html:select property="editMethod">
  							<html:optionsCollection property="validOptionsMap.org|kuali|core|lookup|keyvalues|CorrectionEditMethodValuesFinder" label="label" value="key"/>
  							</html:select>
  		
  	    		 			<input type="image" name="methodToCall.chooseMainDropdown" 
                  		   			src="images/tinybutton-select.gif" alt="chooseRadio" class="tinybutton" />
  				    	  </center>
      				  </td>
  	  			</tr>
  		</table>
   	</div>
   	<c:if test="${KualiForm.chooseSystem == null && KualiForm.editMethod == null}" >
   	   <div class="tab-container" align="center"> 
              <table cellpadding=0 class="datatable" summary="">
              
              <tr>
  	             <td align="left" valign="middle" class="subhead"><span class="subhead-left"></span>Previous Error Correction</td>
              </tr>
              <tr>
                  <td colspan="2" class="bord-l-b" style="padding: 4px; vertical-align: top;"> 
                      <center>
                          <label for="pending-origin-entry-group-id"><strong>GLCP Origin Entry Group</strong></label><br/><br/>
                          
                          <html:select property="oldDocId" size="10" >
  							<html:optionsCollection property="validOptionsMap.org|kuali|core|lookup|keyvalues|PreviousGLCPDocuFinder" label="label" value="key" />
  						</html:select>
                          
                          
                          
                          <br/><br/> 
                          
  	                        <input type="image" name="methodToCall.showPreviousCorrectionFiles" 
  			                	   src="images/tinybutton-loaddoc.gif" alt="show all entries for manual edit" class="tinybutton" />
  							
                      </center>
                  </td>
              </tr>
          </table> 
      
   	</div>
   	
   	</c:if>
  
   	 <c:if test="${KualiForm.chooseSystem == 'file'}" >
     		 <!--  File upload control -->
     			 <div class="tab-container" align="center"> 
      
       		   <div class="h2-container">
      		   	 <h2>Corrections File Upload</h2>
      	       </div>
        		  <table cellpadding=0 class="datatable" summary=""> 
   	           	<tr>
      	            <td class="bord-l-b" style="padding: 4px;">
          	        
          	        
          	        <html:file size="30" property="sourceFile" />
          	        <html:image property="methodToCall.uploadFile" src="images/tinybutton-loaddoc.gif"
                                      styleClass="tinybutton" alt="uploadFile" />
          	     	</td>	    	    
                 	</tr>
  	        	</table>
     			 </div>
      </c:if>
   
  	
              
  
  
  <c:if test="${KualiForm.chooseSystem == 'system'}" >
        	
            <div class="tab-container" align="center"> 
              <table cellpadding=0 class="datatable" summary="">
              
              <tr>
  	             <td align="left" valign="middle" class="subhead"><span class="subhead-left"></span>Documents in System</td>
              </tr>
              <tr>
                  <td colspan="2" class="bord-l-b" style="padding: 4px; vertical-align: top;"> 
                      <center>
                          <label for="pending-origin-entry-group-id"><strong>Origin Entry Group</strong></label><br/><br/>
                          
                          <html:select property="groupIdList" size="10" >
  							<html:optionsCollection property="validOptionsMap.org|kuali|core|lookup|keyvalues|CorrectionPendingGroupEntriesFinder" label="label" value="key" />
  						</html:select>
                          
                          
                          
                          <br/><br/>  
  
  
  							
  	                        <input type="image" name="methodToCall.readDocument"  
  			                	   src="images/tinybutton-loaddoc.gif" alt="show all entries for manual edit" class="tinybutton" />
  			               	
  							Copy To Desktop 
  							<input type="image" name="methodToCall.saveToDesktop" 
  									src="images/tinybutton-copy2.gif" alt="saveToDeskTop" class="tinybutton" onclick="excludeSubmitRestriction=true" />
  									
  							Delete Document
  							<input type="image" name="methodToCall.confirmDeleteDocument" 
  									src="images/tinybutton-delete1.gif" alt="deleteDocument" class="tinybutton" />
  							
  			                   
  			                   
  			         
                      </center>
                  </td>
              </tr>
          </table> 
      
   	</div>
  
  </c:if>
  
  <c:if test="${KualiForm.editMethod == 'criteria'}" >	
   <div class="tab-container" align="center"> 
   
              <table cellpadding=0 class="datatable" summary="">
         			 <tr>
                      <td align="left" valign="middle" class="subhead"><span class="subhead-left">Edit Options and Action</span></td>
                  </tr>
            	  
              <tr>
              	<td>
  					<center>
  						<html:checkbox property="deleteOutput" title="deleteOutput"/> <STRONG> Delete output file? </STRONG> &nbsp; &nbsp; &nbsp; &nbsp;
  						<html:checkbox property="matchCriteriaOnly" alt="matchCriteriaOnly"/> <STRONG> Output only recoreds which match criteria? </STRONG>
  					</center>
  				</td>
  			</tr>
  			<tr>
  				<td>
  					<center>
  						
  						<%--
  						<c:if test="${KualiForm.chooseSystem == 'system'}" >	
  	    		   			<input type="image" name="methodToCall.searchAndReplaceWithCriteria" 
  	  				         	  src="images/buttonsmall_errcorr.gif" alt="error correction" class="tinybutton" /> 
  			    	    </c:if>
  				
  		  	            <c:if test="${KualiForm.chooseSystem == 'file'}" >
  							<input type="image" name="methodToCall.fileUploadSearchAndReplaceWithCriteria" 
  				 		       	src="images/buttonsmall_errcorr.gif" alt="error correction" class="tinybutton" />
  						</c:if>	
  						--%>
  				
  				
  						<STRONG>Show Output file<STRONG>
  						<input type="image" name="methodToCall.showOutputFile" 
  								  src="images/tinybutton-show.gif" alt="showOutputFile" class="tinybutton" />
  					
  					</center>
  				</td>
  			</tr>
  		</table>				  
  	</div>	
  </c:if>
               
             
               
               
               
        
   <c:if test="${KualiForm.editMethod == 'criteria'}" >
      <!-- Search criteria control -->
      <div class="tab-container" align="center"> 
      
          <kul:errors keyMatch="searchFieldError" />
      
          <table cellpadding=0 class="datatable" summary="">
          
              <tr>
                  <td align="left" valign="middle" class="subhead"><span class="subhead-left">Search Criteria</span></td> 
                  <td align="left" valign="middle" class="subhead"><span class="subhead-left">Modification Criteria</span></td>
              </tr>
              
              
                 <c:forEach var="group" items="${ KualiForm.document.correctionChangeGroup}"> 
                     <tr>
                         <td colspan="2" align="left" class="bord-l-b" style="padding: 4px; vertical-align: top;"> 
                             <strong>Group:</strong> 
                             
                             <%--
                             <c:out value="${groupCounter}" /> 
                             <c:set var="groupCounter" value="${groupCounter + 1}" />                           
                             --%>
                             
                             <input type="image" 
                              name="methodToCall.removeCorrectionGroup.group<c:out value="${group.correctionChangeGroupLineNumber}" />" 
                              src="images/tinybutton-delete1.gif" alt="delete correction group" class="tinybutton" />
                         </td>
                     </tr>
                  <tr style="border-bottom: 1px solid #333;"> 
                      <td class="bord-l-b" style="padding: 4px; vertical-align: top;">
                          <input type="hidden" name="correction-groups[<c:out 
                              value="${group.correctionChangeGroupLineNumber}" />][group-number]" value="" /> 
                          <input type="hidden" name="correction-groups[<c:out 
                              value="${group.correctionChangeGroupLineNumber}" />][next-search-criterion-number]" value="<c:out 
                              value="${group.correctionCriteriaNextLineNumber}" />" /> 
                          <input type="hidden" name="correction-groups[<c:out 
                              value="${group.correctionChangeGroupLineNumber}" />][next-replacement-specification-number]" value="<c:out 
                              value="${group.correctionChangeNextLineNumber}" />" />
                          <c:forEach items="${group.correctionCriteria}" var="criterion"> 
                              <div>
                                  <label for="correction-groups[<c:out value="${group.correctionChangeGroupLineNumber }" />][search-criteria][<c:out 
                                      value="${criterion.correctionCriteriaLineNumber}" />][field-name]">Field</label>
                                  <select id="correction-groups[<c:out value="${ group.correctionChangeGroupLineNumber}" />][search-criteria][<c:out 
                                      value="${criterion.correctionCriteriaLineNumber}" />][field-name]"
                                        name="correction-groups[<c:out value="${ group.correctionChangeGroupLineNumber}" />][search-criteria][<c:out 
                                          value="${criterion.correctionCriteriaLineNumber}" />][field-name]">
                                      <option value="" selected>Select Search Criteria</option> 
              	                        <c:forEach var="fieldName" items="${KualiForm.fieldNames}">
                  	                        <option value="<c:out value="${fieldName.value}" />"<c:if 
                      	                        test="${fieldName.value eq criterion.correctionFieldName}"> selected="true"</c:if>>
                          	                    <c:out value="${fieldName.value}" /> 
                              	            </option>
                                  	    </c:forEach>
                                  </select>
                                  <label for="correction-groups[<c:out value="${ group.correctionChangeGroupLineNumber}" />][search-criteria][<c:out 
                                      value="${criterion.correctionCriteriaLineNumber}" />][operator]">Operator</label>
                                  <select id="correction-groups[<c:out value="${ group.correctionChangeGroupLineNumber}" />][search-criteria][<c:out 
                                      value="${criterion.correctionCriteriaLineNumber}" />][operator]"
                                    name="correction-groups[<c:out value="${ group.correctionChangeGroupLineNumber}" />][search-criteria][<c:out 
                                      value="${criterion.correctionCriteriaLineNumber}" />][operator]">
                                      <c:forEach var="operator" items="${KualiForm.searchOperators}">
                                          <option value="<c:out value="${operator.key }" />"<c:if 
                                              test="${operator.key eq criterion.operator}">selected="true"</c:if>><c:out 
                                              value="${ operator.value}" /></option>
                                      </c:forEach>
                                  </select>
                                  <label for="correction-groups[<c:out value="${ group.correctionChangeGroupLineNumber}" />][search-criteria][<c:out 
                                      value="${criterion.correctionCriteriaLineNumber}" />][field-value]">Value</label>
                                  <input id="correction-groups[<c:out value="${ group.correctionChangeGroupLineNumber}" />][search-criteria][<c:out 
                                      value="${criterion.correctionCriteriaLineNumber}" />][field-value]"
                                      value="${ criterion.correctionFieldValue}"
                                      name="correction-groups[<c:out value="${group.correctionChangeGroupLineNumber}" />][search-criteria][<c:out 
                                      value="${ criterion.correctionCriteriaLineNumber}" />][field-value]" type="text">
                                  <input type="image" 
                                      name="methodToCall.removeSearchCriterion.criterion <c:out value="${criterion.correctionChangeGroupLineNumber}" />-<c:out 
                                          value="${criterion.correctionCriteriaLineNumber}" />" 
                                      src="images/tinybutton-delete1.gif" alt="delete search criterion" class="tinybutton" />
                              </div>
                          </c:forEach>
  
                          
                          <div>
                              <label for="correction-groups[<c:out value="${group.correctionChangeGroupLineNumber}" />][search-criteria][field-name]">Field</label> 
                              <select id="correction-groups[<c:out value="${group.correctionChangeGroupLineNumber}" />][search-criteria][field-name]"
                                    name="correction-groups[<c:out value="${ group.correctionChangeGroupLineNumber}" />][search-criteria][field-name]">
                                  <option value="" selected="selected">Select Search Criteria</option>
                                  <c:forEach var="fieldName" items="${ KualiForm.fieldNames}"><option value="<c:out 
                                      value="${fieldName.value}" />"><c:out value="${fieldName.value}" /></option></c:forEach> 
                              </select>
                              <label for="correction-groups[<c:out value="${group.correctionChangeGroupLineNumber}" />][search-criteria][operator]">Operator</label> 
                              <select id="correction-groups[<c:out value="${group.correctionChangeGroupLineNumber}" />][search-criteria][operator]"
                                    name="correction-groups[<c:out value="${ group.correctionChangeGroupLineNumber}" />][search-criteria][operator]">
                                  <c:forEach var="operator" items="${ KualiForm.searchOperators}">
                                  <option value="<c:out value="${operator.key}" />" <c:if test="${operator.key =='eq'}">selected="true"</c:if>><c:out value="${operator.value}" />  </option> 
  
                                  </c:forEach>
                              </select>
                              <label for="correction-groups[<c:out value="${group.correctionChangeGroupLineNumber}" />][search-criteria][field-value]">Value</label> 
                              <input id="correction-groups[<c:out value="${group.correctionChangeGroupLineNumber}" />][search-criteria][field-value]"
                                    name="correction-groups[<c:out value="${ group.correctionChangeGroupLineNumber}" />][search-criteria][field-value]" 
                                    type="text">
                              <html:image property="methodToCall.addSearchCriterion" src="images/tinybutton-add1.gif" 
                                  alt="add search criteria" styleClass="tinybutton" />
                          </div>
                          
                      </td> 
                      <td class="bord-l-b" style="padding: 4px; vertical-align: top;">
                          <c:forEach var="specification" items="${group.correctionChange }">
  
                             
                              <div>
                                  <label for="correction-groups[<c:out value="${ group.correctionChangeGroupLineNumber}" />][replacement-specifications][<c:out 
                                      value="${specification.correctionChangeLineNumber}" />][field-name]">Field</label>
                                  <select id="correction-groups[<c:out value="${ group.correctionChangeGroupLineNumber}" />][replacement-specifications][<c:out 
                                          value="${specification.correctionChangeLineNumber}" />][field-name]" 
                                      name="correction-groups[<c:out value="${ group.correctionChangeGroupLineNumber}" />][replacement-specifications][<c:out 
                                          value="${specification.correctionChangeLineNumber}" />][field-name]">
                                      <c:forEach var="fieldName" items="${ KualiForm.fieldNames}">
                                          <option value="<c:out value="${fieldName.value}" />"<c:if 
                                              test="${fieldName.value eq specification.correctionFieldName}"> selected="true"</c:if>>
                                              <c:out value="${fieldName.value}" />
                                          </option> 
                                      </c:forEach>
                                  </select>
                                  <label for="correction-groups[<c:out value="${group.correctionChangeGroupLineNumber }" />][replacement-specifications][<c:out 
                                      value="${specification.correctionChangeLineNumber}" />][replacement-value]">Replacement Value</label>
                                  <input type="text" 
                                      name="correction-groups[<c:out value="${group.correctionChangeGroupLineNumber}" />][replacement-specifications][<c:out 
                                          value="${ specification.correctionChangeLineNumber}" />][replacement-value]" 
                                      value="<c:out value="${specification.correctionFieldValue}" />"
                                      id="correction-groups[<c:out value="${ group.correctionChangeGroupLineNumber}" />][replacement-specifications][<c:out 
                                          value="${specification.correctionChangeLineNumber}" />][replacement-value]">
                                  <input type="image" 
                                      name="methodToCall.removeReplacementSpecification.specification<c:out value="${specification.correctionChangeGroupLineNumber}" />-<c:out 
                                      value="${ specification.correctionChangeLineNumber}" />" 
                                      src="images/tinybutton-delete1.gif" alt="delete search specification" class="tinybutton" />
                              </div>
                          </c:forEach>
  
                         
                          <div>
                              <label for="correction-groups[<c:out value="${group.correctionChangeGroupLineNumber}" />][replacement-specifications][field-name]">Field</label> 
                              <select id="correction-groups[<c:out value="${group.correctionChangeGroupLineNumber}" />][replacement-specifications][field-name]"
                                  name="correction-groups[<c:out value="${ group.correctionChangeGroupLineNumber}" />][replacement-specifications][field-name]">
                                  <option value="" selected="selected">Specify Modification</option>
                                  <c:forEach var="fieldName" items="${ KualiForm.fieldNames}"><option value="<c:out 
                                      value="${fieldName.value}" />"><c:out value="${fieldName.value}" /></option></c:forEach> 
                              </select>
                              <label for="correction-groups[<c:out value="${group.correctionChangeGroupLineNumber}" />][replacement-specifications][replacement-value]">Replacement 
                                  Value</label>
                              <input type="text" name="correction-groups[<c:out 
                                  value="${group.correctionChangeGroupLineNumber }" />][replacement-specifications][replacement-value]" 
                                  id="correction-groups[<c:out value="${group.correctionChangeGroupLineNumber}" />][replacement-specifications][replacement-value]"> 
                              <html:image property="methodToCall.addReplacementSpecification" src="images/tinybutton-add1.gif" 
                                  alt="add replacement specification" styleClass="tinybutton" /> 
                          </div>
  
                          
  			                   
  			                   
  			                   
                    
                  </tr>
              </c:forEach>
  			
  			<tr>
              	<td colspan="2" align="left" class="bord-l-b" style="padding: 4px; vertical-align: top;"> 
  					<center>
  			            <STRONG>Add Groups </STRONG> 
      			        <input type="image" name="methodToCall.addCorrectionGroup" 
              		       src="images/tinybutton-add1.gif" alt="add correction group" class="tinybutton" /> 
              		 <center>
          	    </td>
              
              </tr>
  		 		                   
  	</table>
  	
  </div>
  </c:if>
   
   
  
        
        
      <!--  Search for Manual Edit -->
        <c:if test="${KualiForm.editMethod == 'manual'}" >  
  		<c:if test="${KualiForm.editableFlag == 'Y'}" > 
       	 <div class="tab-container" align="center"> 
  