vikram97 0 Newbie Poster

hello guys here is the situation

am new to struts and jsp

see i have a screen in which
i have to enable the delete button
which i did later in the corresponding code it was present in the business delegate

now when i press the bbutton am getting this error saying that object expected can u pls help me

heres the corresponding code for it

<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
<%@ taglib uri="/WEB-INF/enrgise-html.tld" prefix="enrgise" %>
<html:html>
	<HEAD>
  <html:base/>
		<TITLE><bean:message key="Payroll.title" /></TITLE>
    <jsp:include page = "GenIncludes.jsp" />
      <meta http-equiv=pragma content=no-cache>
</head>
<BODY  onkeydown="hotKeys(event);"; scroll=yes onload="lfnLoad();"  >
<html:form  action="MaintPayCodesBase" name="PayCodesForm" type="wenrgise.payroll.webtier.form.PayCodesForm" scope="session">
<bean:define id="ParentForm" name="PayCodesForm" toScope="request" />
<jsp:include page = "GenIconMenu.jsp" />
<enrgise:errors/>
<logic:messagesPresent message="true">
<Table>
    <html:messages id="message" message="true">
    <TR><TD><font color="blue" face="arial" size="2">
      <bean:write name="message"/>
   </font> </TD></TR>
    </html:messages>
</Table>
</logic:messagesPresent>
<TABLE>
  <TR height=30>
    <TD  colSpan=11 class=mainHeader height=10>MAINTAIN PAY CODES</TD>
  </TR>
  <tr height="10"><td class=userText colspan="11"></td></tr>
 </TABLE>
 <TABLE cellSpacing=0 cellPadding=0 border=0 >
  <TBODY>
   <TR>
    <TD>    
       <table cellspacing=0 cellpadding=0 border=0>
 	       <TR height="200">
            <TD colspan=6>
             <TABLE cellSpacing=0 cellPadding=0 >              
                <TR>
                    <td class=blueLine width="10"><img src="../includes/images/pixel.gif" width="10" height="1" border="0"></td>
                    <td  nowrap class="actTabText blueLine">Pay Codes Details<img src="../includes/images/pixel.gif" width="10" height="1" border="0"></td>
                    <td><img src="../includes/images/formtab_r.gif" width="10" height="21" border="0"></td>
                    <td background="../includes/images/line_t.gif" width="100%">&nbsp;</td>
                    <td background="../includes/images/line_t.gif"><img src="../includes/images/pixel.gif" width="10" height="1" border="0"></td>
                 </tr> 
                 <TR height=10>
                    <TD colspan=11>
                      <TABLE cellSpacing=0 cellPadding=0 border=0>
                        <TBODY>
                          <TR>
                           <TD >
                            <DIV id=divDtlTable style="height:520px" >
  		                        	<!-- Detail table starts -->
                              <TABLE cellSpacing=0 cellPadding=0 id="Detail">
                                <TBODY>
                                  <TR height="22">
                                      <td class=tableHeader width="1%"><html:checkbox property="selectAll" onclick="toggleCheckBox('checked');" /></td>                                      
                                      <td class=tableHeader width="5%"><bean:message key="pr.PayCode.code" /></td>
                                      <td class=tableHeader width="5%"><bean:message key="pr.PayCode.description" /></td>
                                      <td class=tableHeader width="5%"><bean:message key="pr.PayCode.taxindicator" /></td>
                                      <td class=tableHeader width="5%"><bean:message key="pr.PayCode.savrebate" /></td>
                                      <td class=tableHeader width="5%"><bean:message key="pr.PayCode.reblmt" /></td>
                                      <td class=tableHeader width="5%"><bean:message key="pr.PayCode.adjpriority" /></td>
                                      <td class=tableHeader width="5%"><bean:message key="pr.PayCode.Dependency" /></td>
                                      <td class=tableHeader width="5%"><bean:message key="pr.PayCode.TPFlag" /></td>
                                      <td class=tableHeader width="5%"><bean:message key="pr.PayCode.PCPEFlag" /></td>
                                      <td class=tableHeader width="5%"><bean:message key="pr.PayCode.PTFlag" /></td>
                                      <td class=tableHeader width="5%"><bean:message key="pr.PayCode.MiscDtls" /></td>
                                   </tr> 
                           <logic:iterate id="paycodeInfo" name="PayCodesForm" property="arylstPayCodeDtl" type="wenrgise.payroll.bean.PayCodesDtlBean" indexId="idx" >  
                              <logic:equal name="paycodeInfo" property="status" value="N" >  
                               <tr>   
                                       <html:hidden property="above600" name="paycodeInfo" />
                                       <html:hidden property="indPay" name="paycodeInfo" />
                                       <html:hidden property="above550" name="paycodeInfo" />
                                       <html:hidden property="above500" name="paycodeInfo" />  
                                       <html:hidden property="txtTaxableIndicator" name="paycodeInfo" />
                                       <html:hidden property="txtSavingsRebate" name="paycodeInfo" />
                                       <html:hidden property="txtRebateLimit" name="paycodeInfo" />
                                       <html:hidden property="txtAdjPriority" name="paycodeInfo" />
                                       <html:hidden property="txtDependency" name="paycodeInfo" />
                                       <html:hidden property="txtPCPEFlag" name="paycodeInfo" />
                                       <html:hidden property="txtTPFlag" name="paycodeInfo" />                                                  
                                       <html:hidden property="txtPTFlag" name="paycodeInfo" />                                        
                                <td align="center" ><html:checkbox property="checked" name="PayCodesForm" alt="<%=idx.toString()%>" disabled="true" /></td>
                                       <td ><enrgise:text  property="txtPayCode" name="paycodeInfo"  styleClass="required" disabledClass="required" size="19" style="width:100%" onkeypress="isInteger(event);" maxlength="3"  onchange='<%="doChangeDetail("+idx.toString()+");doDtlValidate("+idx.toString()+");doBaseValidate();"%>' /></td>
                                       <td ><enrgise:text  property="txtPayCodeDesc" name="paycodeInfo" size="5" styleClass="required" disabledClass="required" style="width:100%"  maxlength="22"  onchange='<%="doChangeDetail("+idx.toString()+")"%>' /></td>                                       
                                     <logic:equal name="paycodeInfo" property="above600" value="N" >                                       
                                       <logic:notEqual name="paycodeInfo" property="above500" value="Y" >
                                                <td ><enrgise:select property="txtTaxableIndicator" name="paycodeInfo" styleClass="optional" disabledClass="locked"  style="width:100%"  onchange='<%="doChangeDetail("+idx.toString()+");"%>' >
                                                     <enrgise:option value="" ><bean:message   key="Payroll.pleaseSelect" /></enrgise:option>      
                                                     <enrgise:option value="Y" > <bean:message key="Pay.Paycode.Yes" /></enrgise:option>
                                                     <enrgise:option value="N" > <bean:message key="Pay.Paycode.No" /></enrgise:option>
                                                     </enrgise:select>
                                                </td>                                       
                                          </logic:notEqual>                                            
                                      <logic:equal name="paycodeInfo" property="above500" value="Y" >
                                             <td ><enrgise:select   property="txtTaxableIndicator" name="paycodeInfo" styleClass="locked"  disabledClass="locked"  disabled ="true" style="width:100%"  onchange='<%="doChangeDetail("+idx.toString()+");"%>' >
                                                  <enrgise:option value="" >&nbsp;</enrgise:option>      
                                                  <enrgise:option value="Y" > <bean:message key="Pay.Paycode.Yes" /></enrgise:option>
                                                  <enrgise:option value="N" > <bean:message key="Pay.Paycode.No" /></enrgise:option>
                                                  </enrgise:select>
                                            </td>                                       
                                        </logic:equal>                                      
                                        <logic:equal name="paycodeInfo" property="indPay" value="Y" >
                                       <td ><enrgise:select  property="txtSavingsRebate" name="paycodeInfo" styleClass="optional" disabledClass="locked"  style="width:100%" onchange='<%="Convert(this,"+idx.toString()+");doChangeDetail("+idx.toString()+");"%>' >
                                             <enrgise:option value="" ><bean:message   key="Payroll.pleaseSelect" /></enrgise:option>      
                                             <enrgise:option value="D" > <bean:message key="Pay.Paycode.savrebate1" /></enrgise:option>
                                             <enrgise:option value="A" > <bean:message key="Pay.Paycode.savrebate2" /></enrgise:option>
                                             <enrgise:option value="S" > <bean:message key="Pay.Paycode.savrebate3" /></enrgise:option>
                                             </enrgise:select>
                                      </td>
                                       </logic:equal>
                                       <logic:notEqual name="paycodeInfo" property="indPay" value="Y" >
                                        <td ><enrgise:select  property="txtSavingsRebate" name="paycodeInfo" styleClass="locked" disabledClass="locked"  disabled ="true"  style="width:100%" onchange='<%="Convert(this,"+idx.toString()+");doChangeDetail("+idx.toString()+");"%>' >
                                             <enrgise:option value="" >&nbsp;</enrgise:option>      
                                             <enrgise:option value="D" > <bean:message key="Pay.Paycode.savrebate1" /></enrgise:option>
                                             <enrgise:option value="A" > <bean:message key="Pay.Paycode.savrebate2" /></enrgise:option>
                                             <enrgise:option value="S" > <bean:message key="Pay.Paycode.savrebate3" /></enrgise:option>
                                             </enrgise:select>
                                          </td>
                                        </logic:notEqual>
                                       <logic:notEqual name="paycodeInfo" property="indPay" value="Y" >
                                       <td ><html:text  property="txtRebateLimit" name="paycodeInfo" size="5" styleClass="locked" readonly="true" style="width:100%" maxlength="7" onkeypress="isInteger(event);"  onchange='<%="doChangeDetail("+idx.toString()+")"%>' /></td>
                                       </logic:notEqual>
                                       <logic:equal name="paycodeInfo" property="indPay" value="Y" >
                                       <td ><html:text  property="txtRebateLimit" name="paycodeInfo" size="5" styleClass="optional" style="width:100%" maxlength="7" onkeypress="isInteger(event);"  onchange='<%="doChangeDetail("+idx.toString()+")"%>' /></td>
                                       </logic:equal>                                       
                                         <logic:notEqual name="paycodeInfo" property="above550" value="Y" >
                                        <td ><enrgise:select formName="PayCodesForm"  property="txtAdjPriority" name="paycodeInfo" styleClass="required" disabledClass="locked" style="width:100%"  onchange='<%="doChangeDetail("+idx.toString()+");"%>' >
                                             <enrgise:option value="N" > <bean:message key="Pay.Paycode.No" /></enrgise:option>
                                             <enrgise:option value="Y" > <bean:message key="Pay.Paycode.Yes" /></enrgise:option>
                                             </enrgise:select>
                                        </td>
                                        <td ><enrgise:select formName="PayCodesForm"  property="txtDependency" name="paycodeInfo" styleClass="optional" disabledClass="locked" style="width:100%"  onchange='<%="doChangeDetail("+idx.toString()+");"%>' >
                                             <enrgise:option value="" ><bean:message   key="Payroll.pleaseSelect" /></enrgise:option>      
                                             <enrgise:option value="Y" > YearMonth Wise</enrgise:option>
                                             <enrgise:option value="D" > Date Wise</enrgise:option>
                                             </enrgise:select>
                                      </td>
                                       </logic:notEqual>
                                       
                                        <logic:equal name="paycodeInfo" property="above550" value="Y" >
                                        <td ><enrgise:select formName="PayCodesForm"  property="txtAdjPriority" name="paycodeInfo" styleClass="locked" disabledClass="locked" disabled="true" style="width:100%"  onchange='<%="doChangeDetail("+idx.toString()+");"%>' >
                                             <enrgise:option value="N" > <bean:message key="Pay.Paycode.No" /></enrgise:option>
                                             <enrgise:option value="Y" > <bean:message key="Pay.Paycode.Yes" /></enrgise:option>
                                             </enrgise:select>
                                        </td>
                                        <td >
                                        <enrgise:select formName="PayCodesForm"  property="txtDependency" name="paycodeInfo" styleClass="locked" disabledClass="locked"  disabled="true" style="width:100%"  onchange='<%="doChangeDetail("+idx.toString()+");"%>' >
                                             <enrgise:option value="" >&nbsp;</enrgise:option>      
                                             <enrgise:option value="Y" > YearMonth Wise</enrgise:option>
                                             <enrgise:option value="D" > Date Wise</enrgise:option>
                                             </enrgise:select>
                                        </td>
                                       </logic:equal>                                      
                                      <td ><enrgise:select formName="PayCodesForm"  property="txtTPFlag" name="paycodeInfo" styleClass="optional" disabledClass="locked" style="width:100%"  onchange='<%="doChangeDetail("+idx.toString()+");"%>' >
                                             <enrgise:option value="N" > <bean:message key="Pay.Paycode.No" /></enrgise:option>
                                             <enrgise:option value="Y" > <bean:message key="Pay.Paycode.Yes" /></enrgise:option>
                                             </enrgise:select>
                                      </td>
                                     <logic:notEqual name="paycodeInfo" property="above550" value="Y" >  
                                      <td ><enrgise:select formName="PayCodesForm"  property="txtPCPEFlag" name="paycodeInfo" styleClass="optional" disabledClass="locked" style="width:100%"  onchange='<%="doChangeDetail("+idx.toString()+");"%>' >
                                             <enrgise:option value="N" > <bean:message key="Pay.Paycode.No" /></enrgise:option>
                                             <enrgise:option value="Y" > <bean:message key="Pay.Paycode.Yes" /></enrgise:option>
                                             </enrgise:select>
                                      </td>
                                      </logic:notEqual>
                                      <logic:equal name="paycodeInfo" property="above550" value="Y" >
                                        <td >
                                            <enrgise:select formName="PayCodesForm"  property="txtPCPEFlag" name="paycodeInfo" styleClass="locked" disabledClass="locked" disabled="true" style="width:100%"  onchange='<%="doChangeDetail("+idx.toString()+");"%>' >
                                             <enrgise:option value="" >&nbsp;</enrgise:option>
                                             <enrgise:option value="N" > <bean:message key="Pay.Paycode.No" /></enrgise:option>
                                             <enrgise:option value="Y" > <bean:message key="Pay.Paycode.Yes" /></enrgise:option>
                                             </enrgise:select>
                                         </td>
                                      </logic:equal>                                      
                                    <logic:notEqual name="paycodeInfo" property="above500" value="Y" >
                                        <td ><enrgise:select formName="PayCodesForm"  property="txtPTFlag" name="paycodeInfo" styleClass="optional" disabledClass="locked" style="width:100%"  onchange='<%="doChangeDetail("+idx.toString()+");"%>' >
                                             <enrgise:option value="" ><bean:message   key="Payroll.pleaseSelect" /></enrgise:option>
                                             <enrgise:option value="N" > <bean:message key="Pay.Paycode.No" /></enrgise:option>
                                             <enrgise:option value="Y" > <bean:message key="Pay.Paycode.Yes" /></enrgise:option>
                                             </enrgise:select>
                                      </td>                                       
                                 </logic:notEqual>                                       
                                        <logic:equal name="paycodeInfo" property="above500" value="Y" >
                                        <td ><enrgise:select formName="PayCodesForm"  property="txtPTFlag" name="paycodeInfo" styleClass="locked" disabledClass="locked" disabled="true" style="width:100%"  onchange='<%="doChangeDetail("+idx.toString()+");"%>' >
                                             <enrgise:option value="" >&nbsp;</enrgise:option>
                                             <enrgise:option value="N" > <bean:message key="Pay.Paycode.No" /></enrgise:option>
                                             <enrgise:option value="Y" > <bean:message key="Pay.Paycode.Yes" /></enrgise:option>
                                             </enrgise:select>
                                        </td>                                       
                                      </logic:equal>   
                                       </logic:equal>  
                                     <logic:notEqual name="paycodeInfo" property="above600" value="N" >     
                                       <td ><enrgise:select  property="txtTaxableIndicator" name="paycodeInfo" styleClass="locked" disabled="true" disabledClass="locked" style="width:100%"  onchange='<%="doChangeDetail("+idx.toString()+");"%>' >
                                             <enrgise:option value="" >&nbsp;</enrgise:option>      
                                             <enrgise:option value="Y" > <bean:message key="Pay.Paycode.Yes" /></enrgise:option>
                                             <enrgise:option value="N" > <bean:message key="Pay.Paycode.No" /></enrgise:option>
                                             </enrgise:select>
                                       </td>
                                      <td ><enrgise:select  property="txtSavingsRebate" name="paycodeInfo" styleClass="locked" disabledClass="locked"  disabled ="true"  style="width:100%" onchange='<%="Convert(this,"+idx.toString()+");doChangeDetail("+idx.toString()+");"%>' >
                                             <enrgise:option value="" >&nbsp;</enrgise:option>      
                                             <enrgise:option value="D" > <bean:message key="Pay.Paycode.savrebate1" /></enrgise:option>
                                             <enrgise:option value="A" > <bean:message key="Pay.Paycode.savrebate2" /></enrgise:option>
                                             <enrgise:option value="S" > <bean:message key="Pay.Paycode.savrebate3" /></enrgise:option>
                                             </enrgise:select>
                                      </td>
                                       <td ><html:text  property="txtRebateLimit" name="paycodeInfo" size="5" styleClass="locked" readonly="true" style="width:100%" maxlength="7" onkeypress="isInteger(event);"  onchange='<%="doChangeDetail("+idx.toString()+")"%>' /></td>
                                       <td ><enrgise:select formName="PayCodesForm"  property="txtAdjPriority" name="paycodeInfo" styleClass="locked" disabledClass="locked" disabled="true" style="width:100%"  onchange='<%="doChangeDetail("+idx.toString()+");"%>' >
                                             <enrgise:option value="N" > <bean:message key="Pay.Paycode.No" /></enrgise:option>
                                             <enrgise:option value="Y" > <bean:message key="Pay.Paycode.Yes" /></enrgise:option>
                                             </enrgise:select>
                                      </td>
                                      <td > <enrgise:select formName="PayCodesForm"  property="txtDependency" name="paycodeInfo" styleClass="locked" disabledClass="locked"  disabled="true" style="width:100%"  onchange='<%="doChangeDetail("+idx.toString()+");"%>' >
                                             <enrgise:option value="" >&nbsp;</enrgise:option>      
                                             <enrgise:option value="Y" > YearMonth Wise</enrgise:option>
                                             <enrgise:option value="D" > Date Wise</enrgise:option>
                                             </enrgise:select>
                                      </td>
                                      <td ><enrgise:select formName="PayCodesForm"  property="txtTPFlag" name="paycodeInfo" styleClass="locked" disabledClass="locked"  disabled="true" style="width:100%"  onchange='<%="doChangeDetail("+idx.toString()+");"%>' >
                                              <enrgise:option value="" >&nbsp;</enrgise:option>    
                                             <enrgise:option value="N" > <bean:message key="Pay.Paycode.No" /></enrgise:option>
                                             <enrgise:option value="Y" > <bean:message key="Pay.Paycode.Yes" /></enrgise:option>
                                             </enrgise:select>
                                      </td>
                                      <td ><enrgise:select formName="PayCodesForm"  property="txtPCPEFlag" name="paycodeInfo" styleClass="locked" disabledClass="locked" disabled="true" style="width:100%"  onchange='<%="doChangeDetail("+idx.toString()+");"%>' >
                                             <enrgise:option value="" >&nbsp;</enrgise:option>
                                             <enrgise:option value="N" > <bean:message key="Pay.Paycode.No" /></enrgise:option>
                                             <enrgise:option value="Y" > <bean:message key="Pay.Paycode.Yes" /></enrgise:option>
                                             </enrgise:select>
                                      </td>
                                      <td ><enrgise:select formName="PayCodesForm"  property="txtPTFlag" name="paycodeInfo" styleClass="locked" disabledClass="locked" disabled="true" style="width:100%"  onchange='<%="doChangeDetail("+idx.toString()+");"%>' >
                                             <enrgise:option value="" >&nbsp;</enrgise:option>
                                             <enrgise:option value="N" > <bean:message key="Pay.Paycode.No" /></enrgise:option>
                                             <enrgise:option value="Y" > <bean:message key="Pay.Paycode.Yes" /></enrgise:option>
                                             </enrgise:select>
                                      </td>
                                       </logic:notEqual>     
                                      <td ><enrgise:text  property="txtMiscDtls" name="paycodeInfo"  styleClass="optional" disabledClass="required" size="19" style="width:100%" maxlength="3"  onchange='<%="doChangeDetail("+idx.toString()+");"%>' /></td>
                                      </tr>
                               </logic:equal>
                                <logic:notEqual name="paycodeInfo" property="status" value="N" >  
                                <logic:notEqual name="paycodeInfo" property="status" value="D" >                              
                                   <tr>   
                                       <td align="center" ><html:checkbox property="checked" name="PayCodesForm" alt="<%=idx.toString()%>" disabled="true" /></td>
                                       <td ><enrgise:text  property="txtPayCode" name="paycodeInfo"  styleClass="required" disabledClass="required" size="19" style="width:100%" onkeypress="isInteger(event);" maxlength="3"  onchange='<%="doChangeDetail("+idx.toString()+")"%>' /></td>
                                       <td ><enrgise:text  property="txtPayCodeDesc" name="paycodeInfo" size="5" styleClass="required" disabledClass="required" style="width:100%"  maxlength="22"  onchange='<%="doChangeDetail("+idx.toString()+")"%>' /></td>
                                       <html:hidden property="above600" name="paycodeInfo" />
                                       <html:hidden property="indPay" name="paycodeInfo" />
                                       <html:hidden property="above550" name="paycodeInfo" />
                                       <html:hidden property="above500" name="paycodeInfo" />
                                        <html:hidden property="txtTaxableIndicator" name="paycodeInfo" />
                                        <html:hidden property="txtSavingsRebate" name="paycodeInfo" />
                                        <html:hidden property="txtRebateLimit" name="paycodeInfo" />
                                        <html:hidden property="txtAdjPriority" name="paycodeInfo" />
                                        <html:hidden property="txtDependency" name="paycodeInfo" />
                                        <html:hidden property="txtPCPEFlag" name="paycodeInfo" />
                                        <html:hidden property="txtTPFlag" name="paycodeInfo" />
                                       <html:hidden property="txtPTFlag" name="paycodeInfo" />
                                       <logic:equal name="paycodeInfo" property="above600" value="N" > 
                                       <logic:notEqual name="paycodeInfo" property="above500" value="Y" >
                                                <td ><enrgise:select property="txtTaxableIndicator" name="paycodeInfo" styleClass="optional" disabledClass="locked"  style="width:100%"  onchange='<%="doChangeDetail("+idx.toString()+");"%>' >
                                                     <enrgise:option value="" ><bean:message   key="Payroll.pleaseSelect" /></enrgise:option>      
                                                     <enrgise:option value="Y" > <bean:message key="Pay.Paycode.Yes" /></enrgise:option>
                                                     <enrgise:option value="N" > <bean:message key="Pay.Paycode.No" /></enrgise:option>
                                                     </enrgise:select>
                                                </td>                                       
                                          </logic:notEqual>  
                                      <logic:equal name="paycodeInfo" property="above500" value="Y" >
                                             <td ><enrgise:select   property="txtTaxableIndicator" name="paycodeInfo" styleClass="locked"  disabledClass="locked"  disabled ="true" style="width:100%"  onchange='<%="doChangeDetail("+idx.toString()+");"%>' >
                                                  <enrgise:option value="" >&nbsp;</enrgise:option>      
                                                  <enrgise:option value="Y" > <bean:message key="Pay.Paycode.Yes" /></enrgise:option>
                                                  <enrgise:option value="N" > <bean:message key="Pay.Paycode.No" /></enrgise:option>
                                                  </enrgise:select>
                                            </td>                                       
                                        </logic:equal>  
                                        <logic:equal name="paycodeInfo" property="indPay" value="Y" >
                                       <td ><enrgise:select  property="txtSavingsRebate" name="paycodeInfo" styleClass="optional" disabledClass="locked"  style="width:100%" onchange='<%="Convert(this,"+idx.toString()+");doChangeDetail("+idx.toString()+");"%>' >
                                             <enrgise:option value="" ><bean:message   key="Payroll.pleaseSelect" /></enrgise:option>      
                                             <enrgise:option value="D" > <bean:message key="Pay.Paycode.savrebate1" /></enrgise:option>
                                             <enrgise:option value="A" > <bean:message key="Pay.Paycode.savrebate2" /></enrgise:option>
                                             <enrgise:option value="S" > <bean:message key="Pay.Paycode.savrebate3" /></enrgise:option>
                                             </enrgise:select>
                                      </td>
                                       </logic:equal>
                                       <logic:notEqual name="paycodeInfo" property="indPay" value="Y" >
                                        <td ><enrgise:select  property="txtSavingsRebate" name="paycodeInfo" styleClass="locked" disabledClass="locked"  disabled ="true"  style="width:100%" onchange='<%="Convert(this,"+idx.toString()+");doChangeDetail("+idx.toString()+");"%>' >
                                             <enrgise:option value="" >&nbsp;</enrgise:option>      
                                             <enrgise:option value="D" > <bean:message key="Pay.Paycode.savrebate1" /></enrgise:option>
                                             <enrgise:option value="A" > <bean:message key="Pay.Paycode.savrebate2" /></enrgise:option>
                                             <enrgise:option value="S" > <bean:message key="Pay.Paycode.savrebate3" /></enrgise:option>
                                             </enrgise:select>
                                          </td>
                                        </logic:notEqual>
                                       <logic:notEqual name="paycodeInfo" property="indPay" value="Y" >
                                       <td ><html:text  property="txtRebateLimit" name="paycodeInfo" size="5" styleClass="locked" readonly="true" style="width:100%" maxlength="7" onkeypress="isInteger(event);"  onchange='<%="doChangeDetail("+idx.toString()+")"%>' /></td>
                                       </logic:notEqual>
                                       <logic:equal name="paycodeInfo" property="indPay" value="Y" >
                                       <td ><html:text  property="txtRebateLimit" name="paycodeInfo" size="5" styleClass="optional" style="width:100%" maxlength="7" onkeypress="isInteger(event);"  onchange='<%="doChangeDetail("+idx.toString()+")"%>' /></td>
                                       </logic:equal>
                              <logic:notEqual name="paycodeInfo" property="above550" value="Y" >
                                        <td ><enrgise:select formName="PayCodesForm"  property="txtAdjPriority" name="paycodeInfo" styleClass="required" disabledClass="locked" style="width:100%"  onchange='<%="doChangeDetail("+idx.toString()+");"%>' >
                                             <enrgise:option value="N" > <bean:message key="Pay.Paycode.No" /></enrgise:option>
                                             <enrgise:option value="Y" > <bean:message key="Pay.Paycode.Yes" /></enrgise:option>
                                             </enrgise:select>
                                        </td>
                                        <td ><enrgise:select formName="PayCodesForm"  property="txtDependency" name="paycodeInfo" styleClass="optional" disabledClass="locked" style="width:100%"  onchange='<%="doChangeDetail("+idx.toString()+");"%>' >
                                             <enrgise:option value="" ><bean:message   key="Payroll.pleaseSelect" /></enrgise:option>      
                                             <enrgise:option value="Y" > YearMonth Wise</enrgise:option>
                                             <enrgise:option value="D" > Date Wise</enrgise:option>
                                             </enrgise:select>
                                      </td>
                                       </logic:notEqual>
                                        <logic:equal name="paycodeInfo" property="above550" value="Y" >
                                        <td ><enrgise:select formName="PayCodesForm"  property="txtAdjPriority" name="paycodeInfo" styleClass="locked" disabledClass="locked" disabled="true" style="width:100%"  onchange='<%="doChangeDetail("+idx.toString()+");"%>' >
                                             <enrgise:option value="N" > <bean:message key="Pay.Paycode.No" /></enrgise:option>
                                             <enrgise:option value="Y" > <bean:message key="Pay.Paycode.Yes" /></enrgise:option>
                                             </enrgise:select>
                                        </td>
                                        <td >
                                        <enrgise:select formName="PayCodesForm"  property="txtDependency" name="paycodeInfo" styleClass="locked" disabledClass="locked"  disabled="true" style="width:100%"  onchange='<%="doChangeDetail("+idx.toString()+");"%>' >
                                             <enrgise:option value="" >&nbsp;</enrgise:option>      
                                             <enrgise:option value="Y" > YearMonth Wise</enrgise:option>
                                             <enrgise:option value="D" > Date Wise</enrgise:option>
                                             </enrgise:select>
                                        </td>
                                       </logic:equal>
                                      <td ><enrgise:select formName="PayCodesForm"  property="txtTPFlag" name="paycodeInfo" styleClass="optional" disabledClass="locked" style="width:100%"  onchange='<%="doChangeDetail("+idx.toString()+");"%>' >
                                             <enrgise:option value="N" > <bean:message key="Pay.Paycode.No" /></enrgise:option>
                                             <enrgise:option value="Y" > <bean:message key="Pay.Paycode.Yes" /></enrgise:option>
                                             </enrgise:select>
                                      </td>
                                     <logic:notEqual name="paycodeInfo" property="above550" value="Y" >  
                                      <td ><enrgise:select formName="PayCodesForm"  property="txtPCPEFlag" name="paycodeInfo" styleClass="optional" disabledClass="locked" style="width:100%"  onchange='<%="doChangeDetail("+idx.toString()+");"%>' >
                                             <enrgise:option value="N" > <bean:message key="Pay.Paycode.No" /></enrgise:option>
                                             <enrgise:option value="Y" > <bean:message key="Pay.Paycode.Yes" /></enrgise:option>
                                             </enrgise:select>
                                      </td>
                                      </logic:notEqual>
                                      <logic:equal name="paycodeInfo" property="above550" value="Y" >
                                        <td >
                                            <enrgise:select formName="PayCodesForm"  property="txtPCPEFlag" name="paycodeInfo" styleClass="locked" disabledClass="locked" disabled="true" style="width:100%"  onchange='<%="doChangeDetail("+idx.toString()+");"%>' >
                                             <enrgise:option value="" >&nbsp;</enrgise:option>
                                             <enrgise:option value="N" > <bean:message key="Pay.Paycode.No" /></enrgise:option>
                                             <enrgise:option value="Y" > <bean:message key="Pay.Paycode.Yes" /></enrgise:option>
                                             </enrgise:select>
                                         </td>
                                      </logic:equal>
                                    <logic:notEqual name="paycodeInfo" property="above500" value="Y" >
                                        <td ><enrgise:select formName="PayCodesForm"  property="txtPTFlag" name="paycodeInfo" styleClass="optional" disabledClass="locked" style="width:100%"  onchange='<%="doChangeDetail("+idx.toString()+");"%>' >
                                             <enrgise:option value="" ><bean:message   key="Payroll.pleaseSelect" /></enrgise:option>
                                             <enrgise:option value="N" > <bean:message key="Pay.Paycode.No" /></enrgise:option>
                                             <enrgise:option value="Y" > <bean:message key="Pay.Paycode.Yes" /></enrgise:option>
                                             </enrgise:select>
                                      </td>                                       
                                 </logic:notEqual>                                       
                                        <logic:equal name="paycodeInfo" property="above500" value="Y" >
                                        <td ><enrgise:select formName="PayCodesForm"  property="txtPTFlag" name="paycodeInfo" styleClass="locked" disabledClass="locked" disabled="true" style="width:100%"  onchange='<%="doChangeDetail("+idx.toString()+");"%>' >
                                             <enrgise:option value="" >&nbsp;</enrgise:option>
                                             <enrgise:option value="N" > <bean:message key="Pay.Paycode.No" /></enrgise:option>
                                             <enrgise:option value="Y" > <bean:message key="Pay.Paycode.Yes" /></enrgise:option>
                                             </enrgise:select>
                                        </td>                                       
                                      </logic:equal>                              
                                          <html:hidden property="txtPTFlag" name="paycodeInfo" /> 
                                       </logic:equal>
                                     <logic:notEqual name="paycodeInfo" property="above600" value="N" >     
                                       <td ><enrgise:select  property="txtTaxableIndicator" name="paycodeInfo" styleClass="locked" disabled="true" disabledClass="locked" style="width:100%"  onchange='<%="doChangeDetail("+idx.toString()+");"%>' >
                                             <enrgise:option value="" >&nbsp;</enrgise:option>      
                                             <enrgise:option value="Y" > <bean:message key="Pay.Paycode.Yes" /></enrgise:option>
                                             <enrgise:option value="N" > <bean:message key="Pay.Paycode.No" /></enrgise:option>
                                             </enrgise:select>
                                       </td>
                                      <td ><enrgise:select  property="txtSavingsRebate" name="paycodeInfo" styleClass="locked" disabledClass="locked"  disabled ="true"  style="width:100%" onchange='<%="Convert(this,"+idx.toString()+");doChangeDetail("+idx.toString()+");"%>' >
                                             <enrgise:option value="" >&nbsp;</enrgise:option>      
                                             <enrgise:option value="D" > <bean:message key="Pay.Paycode.savrebate1" /></enrgise:option>
                                             <enrgise:option value="A" > <bean:message key="Pay.Paycode.savrebate2" /></enrgise:option>
                                             <enrgise:option value="S" > <bean:message key="Pay.Paycode.savrebate3" /></enrgise:option>
                                             </enrgise:select>
                                      </td>
                                       <td ><html:text  property="txtRebateLimit" name="paycodeInfo" size="5" styleClass="locked" readonly="true" style="width:100%" maxlength="7" onkeypress="isInteger(event);"  onchange='<%="doChangeDetail("+idx.toString()+")"%>' /></td>
                                         <td ><enrgise:select formName="PayCodesForm"  property="txtAdjPriority" name="paycodeInfo" styleClass="locked" disabledClass="locked" disabled="true" style="width:100%"  onchange='<%="doChangeDetail("+idx.toString()+");"%>' >
                                             <enrgise:option value="N" > <bean:message key="Pay.Paycode.No" /></enrgise:option>
                                             <enrgise:option value="Y" > <bean:message key="Pay.Paycode.Yes" /></enrgise:option>
                                             </enrgise:select>
                                      </td>
                                      <td > <enrgise:select formName="PayCodesForm"  property="txtDependency" name="paycodeInfo" styleClass="locked" disabledClass="locked"  disabled="true" style="width:100%"  onchange='<%="doChangeDetail("+idx.toString()+");"%>' >
                                             <enrgise:option value="" >&nbsp;</enrgise:option>      
                                             <enrgise:option value="Y" > YearMonth Wise</enrgise:option>
                                             <enrgise:option value="D" > Date Wise</enrgise:option>
                                             </enrgise:select>
                                      </td>
                                      <td ><enrgise:select formName="PayCodesForm"  property="txtTPFlag" name="paycodeInfo" styleClass="locked" disabledClass="locked"  disabled="true" style="width:100%"  onchange='<%="doChangeDetail("+idx.toString()+");"%>' >
                                              <enrgise:option value="" >&nbsp;</enrgise:option>    
                                             <enrgise:option value="N" > <bean:message key="Pay.Paycode.No" /></enrgise:option>
                                             <enrgise:option value="Y" > <bean:message key="Pay.Paycode.Yes" /></enrgise:option>
                                             </enrgise:select>
                                      </td>
                                      <td ><enrgise:select formName="PayCodesForm"  property="txtPCPEFlag" name="paycodeInfo" styleClass="locked" disabledClass="locked" disabled="true" style="width:100%"  onchange='<%="doChangeDetail("+idx.toString()+");"%>' >
                                             <enrgise:option value="" >&nbsp;</enrgise:option>
                                             <enrgise:option value="N" > <bean:message key="Pay.Paycode.No" /></enrgise:option>
                                             <enrgise:option value="Y" > <bean:message key="Pay.Paycode.Yes" /></enrgise:option>
                                             </enrgise:select>
                                      </td>
                                      <td ><enrgise:select formName="PayCodesForm"  property="txtPTFlag" name="paycodeInfo" styleClass="locked" disabledClass="locked" disabled="true" style="width:100%"  onchange='<%="doChangeDetail("+idx.toString()+");"%>' >
                                             <enrgise:option value="" >&nbsp;</enrgise:option>
                                             <enrgise:option value="N" > <bean:message key="Pay.Paycode.No" /></enrgise:option>
                                             <enrgise:option value="Y" > <bean:message key="Pay.Paycode.Yes" /></enrgise:option>
                                             </enrgise:select>
                                      </td>
                                       </logic:notEqual> 
                                     <td ><enrgise:text  property="txtMiscDtls" name="paycodeInfo"  styleClass="optional" disabledClass="required" size="19" style="width:100%" maxlength="3"  onchange='<%="doChangeDetail("+idx.toString()+");"%>' /></td>                                    
                                     </logic:notEqual> 
                                    </tr>
                                  <logic:equal name="paycodeInfo" property="status" value="D" >
                                   <tr>
                                       <td ><html:checkbox property="checked" name="PayCodesForm" disabled="true" alt="<%=idx.toString()%>" onclick="boxClicked(this.alt);" /></td>
                                      
                                       <td ><enrgise:text  formName="PayCodesForm"  property="txtSrlNo" name="paycodeInfo" size="9"  styleClass="deletedRow" disabledClass="locked" style="width:100%" readonly="true" maxlength="2" onchange='<%="doChangeDetail("+idx.toString()+")"%>' /></td>         
                                       <td ><enrgise:text    property="txtPayCode" name="paycodeInfo" size="9"    styleClass="deletedRow" disabledClass="locked" style="width:100%" readonly="true" onchange='<%="doChangeDetail("+idx.toString()+")"%>' /></td>         
                                       <td ><enrgise:text     property="txtPayCodeDesc" name="paycodeInfo" size="9"   styleClass="deletedRow" disabledClass="locked" readonly="true" style="width:100%"  onchange='<%="doChangeDetail("+idx.toString()+")"%>' /></td>         
                                        <td ><enrgise:select  property="txtTaxableIndicator " name="paycodeInfo" styleClass="deletedRow" disabledClass="locked" style="width:100%"   >
                                             <enrgise:option value="" ><bean:message   key="Payroll.pleaseSelect" /></enrgise:option>      
                                             <enrgise:option value="Y" > <bean:message key="Pay.Paycode.Yes" /></enrgise:option>
                                             <enrgise:option value="N" > <bean:message key="Pay.Paycode.No" /></enrgise:option>
                                             </enrgise:select>
                                      </td>
                                       <td ><enrgise:select  property="txtSavingsRebate " name="paycodeInfo" styleClass="deletedRow" disabledClass="locked"  style="width:100%"  >
                                             <enrgise:option value="" ><bean:message   key="Payroll.pleaseSelect" /></enrgise:option>      
                                             <enrgise:option value="D" > <bean:message key="Pay.Paycode.savrebate1" /></enrgise:option>
                                             <enrgise:option value="A" > <bean:message key="Pay.Paycode.savrebate2" /></enrgise:option>
                                             <enrgise:option value="S" > <bean:message key="Pay.Paycode.savrebate3" /></enrgise:option>
                                             </enrgise:select>
                                      </td>                                      
                                      <td ><enrgise:text    formName="PayCodesForm"  property="txtRebateLimit" name="paycodeInfo" size="9"    styleClass="deletedRow" disabledClass="locked" style="width:100%" readonly="true" onchange='<%="doChangeDetail("+idx.toString()+")"%>' /></td>         
                                       <td ><enrgise:select  property="txtAdjPriority " name="paycodeInfo" styleClass="deletedRow" disabledClass="locked" style="width:100%"   >
                                             <enrgise:option value="" ><bean:message   key="Payroll.pleaseSelect" /></enrgise:option>      
                                             <enrgise:option value="Y" > <bean:message key="Pay.Paycode.Yes" /></enrgise:option>
                                             <enrgise:option value="N" > <bean:message key="Pay.Paycode.No" /></enrgise:option>
                                             </enrgise:select>
                                      </td>
                                      <td ><enrgise:select  property="txtTPFlag " name="paycodeInfo" styleClass="deletedRow" disabledClass="locked" style="width:100%"   >
                                             <enrgise:option value="" ><bean:message   key="Payroll.pleaseSelect" /></enrgise:option>      
                                             <enrgise:option value="Y" > <bean:message key="Pay.Paycode.Yes" /></enrgise:option>
                                             <enrgise:option value="N" > <bean:message key="Pay.Paycode.No" /></enrgise:option>
                                             </enrgise:select>
                                      </td>
                                      <td ><enrgise:select  property="txtPCPEFlag " name="paycodeInfo" styleClass="deletedRow" disabledClass="locked" style="width:100%"   >
                                             <enrgise:option value="" ><bean:message   key="Payroll.pleaseSelect" /></enrgise:option>      
                                             <enrgise:option value="Y" > <bean:message key="Pay.Paycode.Yes" /></enrgise:option>
                                             <enrgise:option value="N" > <bean:message key="Pay.Paycode.No" /></enrgise:option>
                                             </enrgise:select>
                                      </td>
                                      <td ><enrgise:select  property="txtPTFlag " name="paycodeInfo" styleClass="deletedRow" disabledClass="locked" style="width:100%"   >
                                             <enrgise:option value="" ><bean:message   key="Payroll.pleaseSelect" /></enrgise:option>      
                                             <enrgise:option value="Y" > <bean:message key="Pay.Paycode.Yes" /></enrgise:option>
                                             <enrgise:option value="N" > <bean:message key="Pay.Paycode.No" /></enrgise:option>
                                             </enrgise:select>
                                      </td>
                                      <td ><enrgise:text    property="txtMiscDtls" name="paycodeInfo" size="9"    styleClass="deletedRow" disabledClass="locked" style="width:100%" readonly="true" onchange='<%="doChangeDetail("+idx.toString()+")"%>' /></td>                                                
                                       <html:hidden property="above600" name="paycodeInfo" />
                                       <html:hidden property="above550" name="paycodeInfo" />
                                       <html:hidden property="above500" name="paycodeInfo" />
                                       <html:hidden property="indPay" name="paycodeInfo" />
                                    </tr>
                                  </logic:equal>  
                                  </logic:notEqual>
                                       <html:hidden property="hdnTempFlag" name="paycodeInfo" />
                                       <html:hidden property="itemChecked" name="paycodeInfo" />
                                       <html:hidden property="status" name="paycodeInfo" />
                                       <html:hidden property="detailId" name="paycodeInfo" />
                                       <html:hidden property="txtSection" name="paycodeInfo" />                                  
                           </logic:iterate>
                       </TBODY>
                      </TABLE>
                    </DIV>
                   </TD>
                  </TR>                     
                              <td colspan=11>	
                                  <jsp:include  page = "GenDetailMenu.jsp" flush="true" />
                              </TD>
                            </tr>
                          </TBODY>
                        </TABLE>
                      </td>
                    </tr>
                  </TABLE>
                </td>
	            </tr>
                <!-- Tab Table Ends -->
                <!-- Bottom Blue Bar -->
              <tr>
                   <td align=center class=blueLine width="40%"></td>
                   <td  class=blueLine></td>
                   <td class=blueLine></td>
                   <td align=right class=blueLine><img src="../includes/images/man.jpg"></td>
              </tr>	
          </TABLE>
<!-- Container Table Ending Columns Starts-->
        </TD>
     </TR>
   </TBODY>
 </TABLE>
<!-- Container Table Ends -->
<html:hidden property="screenMode" name="PayCodesForm" />
<html:hidden name="PayCodesForm"  property="screenName" value="PayCode" />
<html:hidden name="PayCodesForm"  property="forwardedPage" />
<html:hidden property="pageRequested" name="PayCodesForm" />
<html:hidden property="positionRequested" name="PayCodesForm" />
<html:hidden property="userPageRequested" name="PayCodesForm" />
<html:hidden property="userPositionRequested" name="PayCodesForm" />
<html:hidden property="detailDataChanged" name="PayCodesForm" />
<html:hidden property="txtIndex" name="PayCodesForm" />
<html:hidden property="lovKey" name="PayCodesForm"  />
<html:hidden property="txtSearchFields" name="PayCodesForm"  />
<html:hidden property="txtDisplayFields" name="PayCodesForm"  />
<html:hidden property="firstLoad" name="PayCodesForm"  />
<html:hidden property="headerPrimaryKey" name="PayCodesForm"  />
</html:form>
</body>
</html:html>
<script language="javascript"> 
 function doSave()
{    return "payCodeSaveAction.do";  }
function doRefresh()
{   return "PayCodeRefresh.do";  }
function doGetDetail()
{   return "payCodeFirstGetDetailAction.do"; }
function doAddRow()
{  return "payCodesAddRowAction.do"; }
function doDelRow()
{  return "payCodeDeleteRowAction.do";  }
function doPrevDetail()
{  return "pCodePrevDetailAction.do";  }
function doExit()
{  return "pCodeExitAction.do";  }
function doNextDetail()
{  return "pCodeNextDetailAction.do";  }
function doJumpDetail()
{  return  "pCodeNextDetailAction.do"; }
function Convert(obj,ind)
{  document.getElementsByName("hdnTempFlag")[ind].value=obj.value; }
function doValidate()
{  return "pCodeValidateAction.do"; }
function dosecondValidate(i)
{  PayCodesForm.action= contextRoot+"pCodeValidateAction.do"; 
  PayCodesForm.submit(); }
function lfnLoad()
{  if(PayCodesForm.firstLoad.value=="")
  {    doBaseOnLoad();   } }
function doOnLoad()
{  return "pCodeOnLoadAction.do"; }
function boxClicked(val)
{   if(document.getElementsByName("checked")[val].checked)
    { document.getElementsByName("itemChecked")[val].value = "Y";   }
    else
    { document.getElementsByName("itemChecked")[val].value = "N";   }   }
</script>