<%@ 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>
<html:base />
<head>
  <TITLE><bean:message  key="hrm.title" /></TITLE>
  <jsp:include page="GenIncludes.jsp" flush="true" />
  <meta http-equiv=pragma content=no-cache>
</head>

<BODY onkeydown="hotKeys(event);"; scroll=auto >

<html:form name="HrmTrngEmpFdbkForm" action="HrmEmpFdBkBaseAction" type="wenrgise.hrms.webtier.form.HrmTrngEmpFeedBackForm">
<bean:define id="ParentForm" name="HrmTrngEmpFdbkForm" toScope="request" />
<jsp:include page="GenMenu.jsp" flush="true" />
<bean:define id="left" name="ParentForm" property="positionRequested"/>
<bean:define id="right" name="ParentForm" property="totalCount"/>
<table cellSpacing=0 bgColor=#bdd0ef>
<tr height=27>
  <td colSpan=11></td>
</tr>
  <TR > 
    <TD ><enrgise:img name="ParentForm" property="butQuery" onmouseover='this.src="../includes/images/query_act.jpg"' onmouseout='this.src="../includes/images/query.jpg"' alt="Query (Ctrl+Q)" src="../includes/images/query.jpg" onclick="doBaseQueryMode()" /><img property="butInsert" src="../includes/images/insert_dis.jpg" /></TD>
    <TD width="2%"></TD>
    <TD ><enrgise:img name="ParentForm" property="butExecute" onmouseover='this.src="../includes/images/execute_act.jpg"' onmouseout='this.src="../includes/images/execute.jpg"' alt="Execute (Ctrl+U)" src="../includes/images/execute.jpg" onclick="doBaseExecute()" /><enrgise:img name="ParentForm" property="butSave" onmouseover='this.src="../includes/images/save_act.jpg"' onmouseout='this.src="../includes/images/save.jpg"' alt="Save (Ctrl+S)" src="../includes/images/save.jpg" onclick="doBaseSave()" />
    <enrgise:img name="ParentForm" property="butDelete" onmouseover='this.src="../includes/images/delete_act.jpg"' onmouseout='this.src="../includes/images/delete.jpg"' alt="Delete (Ctrl+D)" src="../includes/images/delete.jpg" onclick="doBaseDelete()" /><enrgise:img name="ParentForm" property="butRefresh" onmouseover='this.src="../includes/images/refresh_act.jpg"' onmouseout='this.src="../includes/images/refresh.jpg"' alt="Refresh (Ctrl+R)"  src="../includes/images/refresh.jpg" onclick="doBaseRefresh()" />
    <enrgise:img name="ParentForm" property="butPrint" onmouseover='this.src="../includes/images/print_act.jpg"' onmouseout='this.src="../includes/images/print.jpg"' alt="Print (Ctrl+P)"  src="../includes/images/print.jpg" /></TD>
    <TD width="2%" bgColor=#bdd0ef></TD>
    <TD><enrgise:img name="ParentForm" property="butExit"   onclick="doBaseExit()"  onmouseover='this.src="../includes/images/exit_act.jpg"' onmouseout='this.src="../includes/images/exit.jpg"' alt="Exit (Alt+X)"  src="../includes/images/exit.jpg" /><enrgise:img name="ParentForm" property="butHelp" onmouseover='this.src="../includes/images/help_act.jpg"' onmouseout='this.src="../includes/images/help.jpg"' alt="Help (Ctrl+?)" src="../includes/images/help.jpg" /></TD>
    <TD width="50%"></TD>
    <TD ><enrgise:img name="ParentForm" property="butPrevHeader" src='../includes/images/butn_prev.jpg' onmouseover='this.src="../includes/images/butn_prev_act.jpg"' onmouseout='this.src="../includes/images/butn_prev.jpg"' alt="Butn_prev (Ctrl+<)" onclick="doBasePrevHeader()" /></td>
    <td class=dtlNavText><bean:write  name="left" /> of 
    <bean:write name="right" /></td>
    <td align=right><enrgise:img name="ParentForm" property="butNextHeader" src="../includes/images/butn_next.jpg" onmouseover='this.src="../includes/images/butn_next_act.jpg"' onmouseout='this.src="../includes/images/butn_next.jpg"' alt="Butn_next (Ctrl+>)" onclick="doBaseNextHeader()" /></td>
    <td align=right><enrgise:text property="newPositionRequested" size="1" onkeydown="isInteger(event)" title="wenrgise.common.jumpDetail" alt="N" disabledClass="locked" styleClass="optional" /></td>
    <td ><enrgise:img name="ParentForm" property="butJumpHeader" alt="Go (Ctrl+G)" src="../includes/images/go.jpg" onmouseover='this.src="../includes/images/go_act.jpg"' onmouseout='this.src="../includes/images/go.jpg"' onclick="doBaseJumpHeader()" /></td>
    <td > </td>
</TR>
</TABLE>
<table>
<tr>
  <td colspan="11" class="userText"></td>
</tr>
<enrgise:checkSession/>
</TABLE>

<!--Top Most Blue Bar-->
<TABLE cellSpacing=0 bgColor=#bdd0ef>
    <tr>
              <TD  colSpan=12 class=mainHeader height=10><bean:message  key="hrm.HrmEmpFeedbackMainHeader" /></TD>
    </TR>
</TABLE>
<!--//  Display Errors -->
<enrgise:errors/>
<logic:messagesPresent message="true">
<Table>
    <html:messages id="message" message="true">
    <TR><TD>
      <bean:write name="message"/>
    </TD></TR>
    </html:messages>      
</Table>
</logic:messagesPresent>
<!--//  Display Errors -->
<TABLE cellSpacing=0 cellPadding=0 border=0 >
    <TR>
        <TD>
        
        <TABLE cellSpacing=0 cellPadding=0 >
        <!--Inspection Header Starts -->
            <TR>
                  <TD class=subHeader colspan=6><bean:message  key="hrm.HrmEmpFeedbackSubHeader" /></TD>
            </TR>
            <TR>
                  <TD colspan=6 class="blueLine"><IMG height=1 src="../includes/images/pixel.gif" width=1 border=0></TD>
            </TR>
            
            
            <TR> 
                  <td class=labelText><bean:message key="hrm.HrmEmpFeedback.courseName" /></td>
                  <td><enrgise:text  property="courseName" name="HrmTrngEmpFdbkForm" titleKey="hrm.HrmEmpFeedback.courseName" maxlength="15" size="23" styleClass="required" disabledClass="locked" /><enrgise:img height="16" align="center" styleClass="icon" src="../includes/images/lov.jpg" property="butCourseName" name="HrmTrngEmpFdbkForm" onclick=" return ShowCourseName()" /></td>
                 
                  <td class=labelText><bean:message key="hrm.HrmEmpFeedback.institutionName" /></td>
                  <td><enrgise:text  property="institutionName" name="HrmTrngEmpFdbkForm" titleKey="hrm.HrmEmpFeedback.institutionName" maxlength="15" size="26" styleClass="optional" disabledClass="locked"  /></td>
                   
                   <td class=labelText><bean:message key="hrm.HrmEmpFeedback.venue" /></td>
                 <td><html:text  property="venue" titleKey="hrm.HrmEmpFeedback.venue" maxlength="15" size="26"  styleClass="locked" readonly="true"  /></td>
                            
            </TR>
            
            <tr>
                  <td class=labelText><bean:message key="hrm.HrmEmpFeedback.ratingScheme" /></td>
                  <td><enrgise:text  property="ratingScheme" titleKey="hrm.HrmEmpFeedback.ratingScheme" maxlength="15" size="26" styleClass="optional" disabledClass="locked"  /></td>
                  <td class=labelText><bean:message key="hrm.HrmEmpFeedback.minRating" /></td>
                  <td><enrgise:text  property="minRating" name="HrmTrngEmpFdbkForm" titleKey="hrm.HrmEmpFeedback.minRating" maxlength="15" size="26" styleClass="optional" disabledClass="locked"  /></td>
                  <td class=labelText><bean:message key="hrm.HrmEmpFeedback.maxRating" /></td>
                  <td><enrgise:text  property="maxRating" name="HrmTrngEmpFdbkForm" titleKey="hrm.HrmEmpFeedback.maxRating" maxlength="15" size="26" styleClass="optional" disabledClass="locked"  /></td>
                  
           </tr>
            
            
            <tr>
                 <td class=labelText><bean:message key="hrm.HrmEmpFeedback.startDate" /></td>
                 <td><html:text  property="startDate" name="HrmTrngEmpFdbkForm" titleKey="hrm.HrmEmpFeedback.startDate" maxlength="15" size="26" styleClass="locked" readonly="true"  /></td>              
                 <td class=labelText><bean:message key="hrm.HrmEmpFeedback.endDate" /></td>
                 <td><html:text  property="endDate" name="HrmTrngEmpFdbkForm" titleKey="hrm.HrmEmpFeedback.endDate" maxlength="15" size="26" styleClass="locked" readonly="true"  /></td>              
                 <td class="labelText"><bean:message key="hrm.HrmTransferApplcn.trnsStatus" /></td>
                 <td><html:select property="statusFlag" name="HrmTrngEmpFdbkForm" alt="P"  styleClass="optional" disabled="true" >
                    <html:option value="" ><bean:message   key="hrm.pleaseSelect" /></html:option>      
                    <html:option value="P" > <bean:message key="hrm.HrmEmpFeedback.p" /></html:option>
                    <html:option value="C" > <bean:message key="hrm.HrmEmpFeedback.c" /></html:option>
                    <!--<html:option value="A" > <bean:message key="hrm.HrmTransferApplcn.approved" /></html:option>
                    <html:option value="R" > <bean:message key="hrm.HrmTransferApplcn.rejected" /></html:option>-->
                  </html:select></td>
           </tr>
            
            <tr height="10">
                <td colspan="6"></td>
            </tr>
         </table>
        
                      
         <table cellspacing=0 cellpadding=0 border=0>
          <!-- Detail Information Row starts -->
          <TR>
            <TD colspan=6>
            <!-- Tab Table Starts -->
            <TABLE cellSpacing=0 cellPadding=0 >
            <tr>
                <td bgcolor="#4682B4" ></td>
                <enrgise:tab name="HrmTrngEmpFdbkForm" property="butEmpFeedBackTab" styleClass="actTabText" disabledClass="lockedTab" src="../includes/images/formtab_r.gif" ><bean:message  key="hrm.HrmEmpFeedbackTableHeader" /></enrgise:tab>
                <td width="83%"> </td>
            </tr>     
              <TR height=10>
              
            <!-- Detail table Container starts -->
              <TD colSpan=5>
              <TABLE cellSpacing=0 cellPadding=0 border=0>
                <TBODY>
                 <TR>
                  <TD >
                  <DIV id=divDtlTable style="height:250px;width:1010px">
                    <TABLE  border="0" cellSpacing=0 cellPadding=0>
                     <TBODY>
                          <tr>
                            
                            <TD class=tableHeader width="1%"><input type="checkbox" disabled="true" /></td>
                            <TD class=tableHeader width="5%"><bean:message key="hrm.HrmEmpFeedback.skillArea"/></td>
                            <TD class=tableHeader width="5%"><bean:message key="hrm.HrmEmpFeedback.facultyName" /></td>
                            <TD class=tableHeader width="5%"><bean:message  key="hrm.HrmEmpFeedback.EmpNo" /></td>
                            <TD class=tableHeader width="5%"><bean:message key="hrm.HrmEmpFeedback.empName" /></td>
                            <TD class=tableHeader width="5%"><bean:message  key="hrm.HrmEmpFeedback.deliveryClarity" /></td>
                            <TD class=tableHeader width="5%"><bean:message key="hrm.HrmEmpFeedback.presentation" /></td>
                            <TD class=tableHeader width="5%"><bean:message  key="hrm.HrmEmpFeedback.interaction" /></td>
                            <TD class=tableHeader width="5%"><bean:message  key="hrm.HrmEmpFeedback.courseMaterial" /></td>
                            <TD class=tableHeader width="5%"><bean:message  key="hrm.HrmEmpFeedback.courseObjective" /></td>
                            <TD class=tableHeader width="5%"><bean:message key="hrm.HrmEmpFeedback.courseDuration" /></td>
                            <TD class=tableHeader width="5%"><bean:message key="hrm.HrmEmpFeedback.trainingAids" /></td>
                            <TD class=tableHeader width="5%"><bean:message key="hrm.HrmEmpFeedback.trainingArrangements" /></td>
                            <TD class=tableHeader width="5%"><bean:message key="hrm.HrmEmpFeedback.overallRating" /></td>
                            <TD class=tableHeader width="5%"><bean:message key="hrm.HrmEmpFeedback.topicsRelevant" /></td>
                            <TD class=tableHeader width="5%"><bean:message key="hrm.HrmEmpFeedback.topicsIrrelevant" /></td>
                            <TD class=tableHeader width="5%"><bean:message key="hrm.HrmEmpFeedback.suggestions" /></td>
                            
                         </tr>   
                         <logic:iterate id="HrmEmpFeedBack" name="HrmTrngEmpFdbkForm" property="arrEmpFeedBack" type="wenrgise.hrms.bean.HrmTrngEmpFeedBackDtlBean" indexId="idx" >
                             <tr class='<bean:write name="HrmTrngEmpFdbkForm" property="listRowClass"/>'  >
                                  <TD width="1%"><input type="checkbox" disabled="true"  /></td>
                                  <html:hidden property="txtFacId"  name="HrmEmpFeedBack" /><html:hidden property="txtTrnHdrId"  name="HrmEmpFeedBack" /><html:hidden property="itemChecked" name="HrmEmpFeedBack" /><html:hidden property="status" name="HrmEmpFeedBack" /><html:hidden property="detailId"  name="HrmEmpFeedBack" />
                                  <TD class=tableText ><html:text property="txtSkillArea" name="HrmEmpFeedBack"   styleClass="locked" readonly="true" alt="N"  titleKey="hrm.HrmEmpFeedback.skillArea" onchange='<%="doChangeDetail("+idx.toString()+")"%>' /></td>
                                  <TD class=tableText ><html:text property="txtFacultyName" name="HrmEmpFeedBack"   maxlength="20" styleClass="locked" readonly="true" alt="ALPHA" titleKey="hrm.HrmEmpFeedback.facultyName" onchange='<%="doChangeDetail("+idx.toString()+")"%>' /></td>
                                  <TD class=tableText ><html:text property="txtEmpNo" name="HrmEmpFeedBack"   styleClass="locked" readonly="true" alt="N"  titleKey="hrm.HrmEmpFeedback.EmpNo" onchange='<%="doChangeDetail("+idx.toString()+")"%>' /></td>
                                  <TD class=tableText ><html:text property="txtEmpName" name="HrmEmpFeedBack"   styleClass="locked" readonly="true"  alt="ALPHA"  titleKey="hrm.HrmEmpFeedback.empName" onchange='<%="doChangeDetail("+idx.toString()+")"%>' /></td>
                                  <TD class=tableText ><enrgise:text property="txtDeliveryClarity" name="HrmEmpFeedBack" formName="HrmTrngEmpFdbkForm"   maxlength="2" size="6" styleClass="optional" disabledClass="locked" alt="P" titleKey="hrm.HrmEmpFeedback.deliveryClarity" onkeypress="isInteger(event);"  onchange='<%="doChangeDetail("+idx.toString()+")"%>' /></td>
                                  <TD class=tableText ><enrgise:text property="txtPresentation" name="HrmEmpFeedBack" formName="HrmTrngEmpFdbkForm"   maxlength="2" size="6" styleClass="optional" disabledClass="locked" alt="P"  titleKey="hrm.HrmEmpFeedback.presentation" onkeypress="isInteger(event);" onchange='<%="doChangeDetail("+idx.toString()+")"%>' /></td>
                                  <TD class=tableText ><enrgise:text property="txtInteraction" name="HrmEmpFeedBack" formName="HrmTrngEmpFdbkForm"   maxlength="2" size="6" styleClass="optional" disabledClass="locked" alt="P"  titleKey="hrm.HrmEmpFeedback.interaction" onkeypress="isInteger(event);" onchange='<%="doChangeDetail("+idx.toString()+")"%>' /></td>
                                  <TD class=tableText ><enrgise:text property="txtCourseMaterial" name="HrmEmpFeedBack" formName="HrmTrngEmpFdbkForm"   maxlength="2" size="6" styleClass="optional" disabledClass="locked" titleKey="hrm.HrmEmpFeedback.courseMaterial"  alt="P"  onkeypress="isInteger(event);" onchange='<%="doChangeDetail("+idx.toString()+")"%>' /></td>
                                  <TD class=tableText ><enrgise:text property="txtCourseObjective" name="HrmEmpFeedBack" formName="HrmTrngEmpFdbkForm"   maxlength="2" size="6" styleClass="optional" disabledClass="locked" alt="P" titleKey="hrm.HrmEmpFeedback.courseObjective" onkeypress="isInteger(event);"  onchange='<%="doChangeDetail("+idx.toString()+")"%>' /></td>
                                  <TD class=tableText ><enrgise:text property="txtCourseDuration" name="HrmEmpFeedBack" formName="HrmTrngEmpFdbkForm"   maxlength="10" styleClass="optional" disabledClass="locked" alt="P" titleKey="hrm.HrmEmpFeedback.courseDuration"  onkeypress="isInteger(event);" onchange='<%="doChangeDetail("+idx.toString()+")"%>' /></td>
                                  <TD class=tableText ><enrgise:text property="txtTrainingAids" name="HrmEmpFeedBack" formName="HrmTrngEmpFdbkForm"   maxlength="10" styleClass="optional" disabledClass="locked" alt="P" titleKey="hrm.HrmEmpFeedback.trainingAids"  onkeypress="isInteger(event);" onchange='<%="doChangeDetail("+idx.toString()+")"%>' /></td>
                                  <TD class=tableText ><enrgise:text property="txtTrainingArrangements" name="HrmEmpFeedBack" formName="HrmTrngEmpFdbkForm"   maxlength="2" size="6" styleClass="optional" disabledClass="locked" alt="P"  titleKey="hrm.HrmEmpFeedback.trainingArrangements" onkeypress="isInteger(event);" onchange='<%="doChangeDetail("+idx.toString()+")"%>' /></td>
                                  <TD class=tableText ><enrgise:text property="txtOverallRating" name="HrmEmpFeedBack" formName="HrmTrngEmpFdbkForm"   maxlength="10" styleClass="optional" disabledClass="locked" alt="P" titleKey="hrm.HrmEmpFeedback.overallRating"  onkeypress="isInteger(event);" onchange='<%="doChangeDetail("+idx.toString()+")"%>' /></td>
                                  <TD class=tableText ><enrgise:text property="txtTopicsRelevant" name="HrmEmpFeedBack" formName="HrmTrngEmpFdbkForm"   maxlength="250" styleClass="optional" disabledClass="locked" alt="P" titleKey="hrm.HrmEmpFeedback.topicsRelevant"  onchange='<%="doChangeDetail("+idx.toString()+")"%>' /></td>
                                  <TD class=tableText ><enrgise:text property="txtTopicsIrrelevant" name="HrmEmpFeedBack" formName="HrmTrngEmpFdbkForm"   maxlength="250" styleClass="optional" disabledClass="locked" alt="P" titleKey="hrm.HrmEmpFeedback.topicsIrrelevant"  onchange='<%="doChangeDetail("+idx.toString()+")"%>' /></td>
                                  <TD class=tableText ><enrgise:text property="txtSuggestions" name="HrmEmpFeedBack" formName="HrmTrngEmpFdbkForm"   maxlength="250" styleClass="optional" disabledClass="locked" alt="P" titleKey="hrm.HrmEmpFeedback.suggestions"  onchange='<%="doChangeDetail("+idx.toString()+")"%>' /><!--<enrgise:img src="../includes/images/lov.jpg" height="15" align="center" styleClass="icon" name="HrmTrngEmpFdbkForm" property="butRatingHelp6" alt="<%=idx.toString()%>"  onclick="return ShowRatingHelp(this.alt);" />--></td>
                                </tr>
                            
                            </logic:iterate>    
                
                      </TBODY>
                      </TABLE>
                      </DIV>
                      </TD>
                    </TR>
                      <!-- Get details starts -->
                    <tr>
                       <bean:define id="pageNo" name="ParentForm" property="pageRequested" toScope="request" />
                       <bean:define id="maxPage" name="ParentForm" property="totalPageCount" toScope="request" />
                        <TABLE border=0>
                          <tbody>
                          <TR>
                            <TD ><enrgise:button altKey="wenrgise.common.getDetail"  onclick="doBaseGetDetail()" property="butGetDetail" name="ParentForm" styleClass="bottomBarText">&nbsp;Get&nbsp;De<u>t</u>ail&nbsp;</enrgise:button>  <button onclick="doBaseAddRow()" name="butAddRow" disabled="true" styleClass="bottomBarText">&nbsp;&nbsp;Add&nbsp;<u>R</u>ow&nbsp;&nbsp;</button><button  onclick="doBaseDelRow()"
                            name="butDelRow" disabled="true" styleClass="bottomBarText" ><u>D</u>elete Row</button></TD>
                            <td width=50%></td>	
                            <TD ><enrgise:img name="ParentForm" property="butPrevDetail" src="../includes/images/butn_dtl_prev.jpg" onmouseover='this.src="../includes/images/butn_dtl_prev_act.jpg"' onmouseout='this.src="../includes/images/butn_dtl_prev.jpg"' alt="Butn_prev (Alt+<)"  onclick="doBasePrevDetail()"/></td>
                            <td class=dtlNavText><bean:write  name="pageNo" /> of 
                            <bean:write name="maxPage" /></td></td>
                            <td  align=right><enrgise:img name="ParentForm" property="butNextDetail" src="../includes/images/butn_dtl_next.jpg" onmouseover='this.src="../includes/images/butn_dtl_next_act.jpg"' onmouseout='this.src="../includes/images/butn_dtl_next.jpg"' alt="Butn_next (Alt+>)" onclick="doBaseNextDetail()"/></td>
                            <td  align=right><enrgise:text property="newPageRequested" size="1" onkeydown="isInteger(event)" styleClass="optional" disabledClass="locked" /></td>
                            <td ><enrgise:img name="ParentForm" property="butJumpDetail" altKey="wenrgise.common.go" src="../includes/images/go_dtl.jpg" onclick="doBaseJumpDetail()" /></td>		     
                          </TR>
                        
                          </tbody>
                        </TABLE>
                    </tr>
                  </TBODY>
                </TABLE>
              </td>
            </tr>
        </TABLE>
     </td>
	 </tr>
                <!-- Tab Table Ends -->

      <!-- Bottom Blue Bar -->
       <TR>
            <td>
              <TABLE  cellspacing="0" cellpadding="0" border=0>
                    <tr>
                        <td width=40% align=center class="blueLine"></td>
                        <td  class="blueLine"></td>
                        <td  class="blueLine"></td>                
                        <td class="blueLine"></td>
                        <td align=right class="icon blueLine"><img src="../includes/images/man.jpg"></td>
                   </TR>
                </table>
            </td>
          </tr>
	
<!-- Container Table Ending Columns Starts-->
    
</TBODY>
</TABLE>
<!-- Container Table Ends -->

<html:hidden property="screenName" name="HrmTrngEmpFdbkForm" value="HrmTrngEmpFeedBack" />
<html:hidden name="HrmTrngEmpFdbkForm"  property="forwardedPage" />
<html:hidden property="positionRequested" name="HrmTrngEmpFdbkForm" />
<html:hidden property="screenMode" name="HrmTrngEmpFdbkForm" />

<html:hidden property="userPageRequested" name="HrmTrngEmpFdbkForm" />
<html:hidden property="userPositionRequested" name="HrmTrngEmpFdbkForm" />
<html:hidden property="pageRequested" name="HrmTrngEmpFdbkForm" />
<html:hidden property="headerPrimaryKey" name="HrmTrngEmpFdbkForm" />
<html:hidden property="headerDataChanged" name="HrmTrngEmpFdbkForm" />
<html:hidden property="detailDataChanged" name="HrmTrngEmpFdbkForm" />

<!------ addded for LOV ----->

<html:hidden property="lovKey" name="HrmTrngEmpFdbkForm"  />
<html:hidden property="txtSearchFields" name="HrmTrngEmpFdbkForm"  />
<html:hidden property="txtDisplayFields" name="HrmTrngEmpFdbkForm"  />
<html:hidden property="txtIndex" name="HrmTrngEmpFdbkForm"  />
<html:hidden property="instId" name="HrmTrngEmpFdbkForm"  />
<html:hidden property="courseId" name="HrmTrngEmpFdbkForm"  />

<input type="hidden" name="multipleFlag" >
<input type="hidden" name="queryParam" >

</html:form>
</body>
</html:html>

<script language="javascript">

function doValidate()
{
  return "HrmEmpFdBkValidateAction.do";
}

function doQueryMode()
{

  return "HrmEmpFeedBackQueryModeAction.do";
}
function doInsertMode()
{

  return "HrmEmpFeedBackNewModeAction.do";
}

function doExecute()
{
  return "HrmEmpFeedBackGetHeaderAction.do";
  
}
function doPrevHeader()
{
  return "HrmEmpFeedBackGetNextHeaderAction.do"; 
}

function doNextHeader()
{
  return "HrmEmpFeedBackGetNextHeaderAction.do"; 
}

function doJumpHeader()
{
  return "HrmEmpFeedBackGetNextHeaderAction.do"; 
}

function doSave()
{
  return "HrmEmpFeedBackSaveAction.do";
  
}

function doRefresh()
{

  return "HrmEmpFeedBackRefreshAction.do";
  
}

function doGetDetail()
{

  return "HrmEmpFeedBackGetDetailAction.do";
}

function doAddRow()
{

  return "HrmEmpFeedBackAddRowAction.do"; 
}

function doDelRow()
{
 return "HrmEmpFeedBackDeleteRowAction.do";  
}

function doGetDetailTableName()
{
  return "HrmEmpFeedBack";
}

function doPrevDetail()
{

  return "HrmEmpFeedBackGetDetailPageAction.do";  
}
function doExit()
{

  return "HrmEmpFeedBackExitAction.do";  
}

function doNextDetail()
{

  return "HrmEmpFeedBackGetDetailPageAction.do";
}

function doJumpDetail()
{
  return  "HrmEmpFeedBackGetDetailPageAction.do"; 
}

<!---- Added For LOV ---->
function ShowCourseName()
{
        document.forms[0].lovKey.value = "TrngEmpFBCrsName" + document.forms[0].screenName.value + document.forms[0].screenMode.value;
        document.forms[0].txtSearchFields.value = "hrm.HrmEmpFeedback.courseName";
        document.forms[0].txtDisplayFields.value = "courseId,courseName";
        document.forms[0].multipleFlag.value = "false";
        showLov('<html:rewrite page="/hrms/jsp/CommonSearchScreen.jsp" />','HrmTrngEmpFdbkForm');
        return true;
        
}
function ShowRatingHelp(i)
{
        document.forms[0].lovKey.value = "TrngFdbkRatingHelp" + document.forms[0].screenName.value + document.forms[0].screenMode.value;
        document.forms[0].txtSearchFields.value = "hrm.HrmEmpFeedback.courseName";
        document.forms[0].txtIndex.value = i;
        document.forms[0].multipleFlag.value = "false";
        document.forms[0].queryParam.value = "ratingScheme="+ document.forms[0].ratingScheme.value;
        showLov('<html:rewrite page="/hrms/jsp/GenDisplayScreen.jsp" />','HrmTrngEmpFdbkForm');
        return true;
        
}
function ShowFacultyName(i)
{
        document.forms[0].lovKey.value = "TrngFacultyName" + document.forms[0].screenName.value + document.forms[0].screenMode.value;
        document.forms[0].txtSearchFields.value = "hrm.HrmEmpFeedback.facultyName";
        document.forms[0].txtIndex.value = i;
        document.forms[0].txtDisplayFields.value = "txtFacId,txtFacultyName";
        document.forms[0].multipleFlag.value="false";
        document.forms[0].queryParam.value="instId="+ document.forms[0].instId.value;
        showLov('<html:rewrite page="/hrms/jsp/CommonSearchScreen.jsp" />','HrmTrngEmpFdbkForm');
        if(document.getElementsByName("status")[i])
          {
            if(document.getElementsByName("status")[i].value!="N")
            {
              document.getElementsByName("status")[i].value="U";
            }
          }
        return true;


}
function doGetInsertData()
{
}
</script>
