<%@ 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="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="HrmOrgHolTypeMstForm" action="HrmOrgHolTypeMstBaseAction" type="wenrgise.hrms.webtier.form.HrmOrgHolTypeMstForm" >
<bean:define id="ParentForm" name="HrmOrgHolTypeMstForm" toScope="request" />
<jsp:include page="GenIconMenu.jsp" flush="true" />

<!--Top Most Blue Bar-->
<TABLE cellSpacing=0 bgColor=#bdd0ef>
    <tr>
        <TD  colSpan=12 class=mainHeader ><bean:message  key="hrm.HrmHolidaytypeMst.heading" /></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 >
        <!--Master Information Starts -->
         <TR>
            <TD class=subHeader colspan=6>Holiday Type Master Information</TD>
         </TR>
         <TR>
            <TD colspan=6 bgColor=#4682b4><IMG height=1 src="../includes/images/pixel.gif" width=1 border=0></TD>
         </TR>
         <tr>
            <td class=labelText><bean:message key="hrm.HrmHolidaytypeMst.holidayType" /></td>
            <td><enrgise:text property="holidayType" name="HrmOrgHolTypeMstForm"  titleKey="hrm.HrmHolidaytypeMst.holidayType" size="23" styleClass="required" disabledClass="required" alt="A" maxlength="40" onchange="doChangeHeader();" onmouseover="this.title=this.value" /><enrgise:img height="16" align="center" styleClass="icon" src="../includes/images/lov.jpg" property="butHolidayType" name="HrmOrgHolTypeMstForm" onclick="return ShowHolidayType()"  /></td>
            <td class=labelText><bean:message key="hrm.HrmHolidaytypeMst.yearlyLimit" /></td>
            <td><enrgise:text  property="yearlyLimit" name="HrmOrgHolTypeMstForm"  titleKey="hrm.HrmHolidaytypeMst.yearlyLimit" size="26" styleClass="optional" disabledClass="locked" alt="N" maxlength="2" onkeypress="isInteger(event);" onchange="doChangeHeader();"  /></td>
            <td class=labelText><bean:message key="hrm.HrmHolidaytypeMst.mandatory" /></td>
            <td><enrgise:select  property="mandatory" name="HrmOrgHolTypeMstForm"  styleClass="required" disabledClass="locked"  titleKey="hrm.HrmHolidaytypeMst.mandatory" onchange="doChangeHeader(); doBaseValidate();">
                <enrgise:option value="" ><bean:message key="hrm.pleaseSelect" /></enrgise:option>
                <enrgise:option value="Y" ><bean:message key="hrm.yes" /></enrgise:option>
                <enrgise:option value="N" ><bean:message key="hrm.no" /></enrgise:option>
                </enrgise:select>
            </td>
            
          </tr> 
          <!-- Information Starts -->
         <TR>
            <TD class=subHeader colspan=6>Detail Information</TD>
         </TR>
         <TR>
            <TD colspan=6 bgColor=#4682b4><IMG height=1 src="../includes/images/pixel.gif" width=1 border=0></TD>
         </TR>
         <tr>
            <td class=labelText><bean:message key="hrm.HrmHolidaytypeMst.compensatoryLeave" /></td>
            <td><enrgise:select  property="compensatoryLeave" name="HrmOrgHolTypeMstForm"  titleKey="hrm.HrmHolidaytypeMst.compensatoryLeave" styleClass="optional"  disabledClass="locked" onchange="doChangeHeader(); doBaseValidate();" >
            <enrgise:option value="Y" ><bean:message key="hrm.yes" /></enrgise:option>
            <enrgise:option value="N" ><bean:message key="hrm.no" /></enrgise:option>
            </enrgise:select></td>
            <td colspan="2"></td>
            <td class=labelText><bean:message  key="hrm.HrmHolidaytypeMst.rewardPercentageOfBasic" /></td>
            <td><enrgise:text  property="rewardPercentageOfBasic" name="HrmOrgHolTypeMstForm"  titleKey="hrm.HrmHolidaytypeMst.rewardPercentageOfBasic" alt="N" maxlength="3" size="26" styleClass="optional" disabledClass="locked" onkeypress="isInteger(event);" onchange="doChangeHeader();" /></td>       
          </tr> 
          
          </table>  
         
        </td>
        </tr>
           
      <!-- Bottom Blue Bar -->
       <TR>
            <td>
              <TABLE  cellspacing="0" cellpadding="0" border=0>
                    <tr>
                        <td width=40% align=center bgColor=#4682b4></td>
                        <td  bgColor=#4682b4></td>
                        <td  bgColor=#4682b4></td>                
                        <td bgColor=#4682b4></td>
                        <td align=right bgColor=#4682b4><img src="../includes/images/man.jpg"></td>
                   </TR>
                </table>
            </td>
          </tr>
	
<!-- Container Table Ending Columns Starts-->
    
</TBODY>
</TABLE>

<!-- Container Table Ends -->
<html:hidden property="holidayTypeId" name="HrmOrgHolTypeMstForm" />

<html:hidden property="screenName" name="HrmOrgHolTypeMstForm" value="HrmOrgHolTypeMst" />
<html:hidden name="HrmOrgHolTypeMstForm"  property="forwardedPage" />
<html:hidden property="positionRequested" name="HrmOrgHolTypeMstForm" />
<html:hidden property="screenMode" name="HrmOrgHolTypeMstForm" />

<html:hidden property="userPageRequested" name="HrmOrgHolTypeMstForm" />
<html:hidden property="userPositionRequested" name="HrmOrgHolTypeMstForm" />
<html:hidden property="pageRequested" name="HrmOrgHolTypeMstForm" />

<html:hidden property="lovKey" name="HrmOrgHolTypeMstForm"  />
<html:hidden property="txtSearchFields" name="HrmOrgHolTypeMstForm"  />
<html:hidden property="txtDisplayFields" name="HrmOrgHolTypeMstForm"  />
<html:hidden property="headerDataChanged" name="HrmOrgHolTypeMstForm"  />

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

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

<script language="javascript">
function doChangeHeader()
{
 
  document.forms[0].headerDataChanged.value="true";
}

function doQueryMode()
{
  return "HrmOrgHolTypeMstQueryModeAction.do";
}
function doExit()
{
  return "HrmOrgHolTypeMstExitAction.do";
}
function doInsertMode()
{
  return "HrmOrgHolTypeMstNewModeAction.do";
}
function doExecute()
{
  return "HrmOrgHolTypeMstGetHeaderAction.do";
}
function doSave()
{
   return "HrmOrgHolTypeMstSaveAction.do";
}
function doDelete()
{
  return "HrmOrgHolTypeMstDeleteAction.do";
}
function doRefresh()
{
  return "HrmOrgHolTypeMstRefreshAction.do";
}
function doPrevHeader()
{
  return "HrmOrgHolTypeMstGetNextHeaderAction.do"; 
}
function doNextHeader()
{
  return "HrmOrgHolTypeMstGetNextHeaderAction.do"; 
}
function doJumpHeader()
{
  return "HrmOrgHolTypeMstGetNextHeaderAction.do"; 
}

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

function ShowHolidayType()
{
        document.forms[0].lovKey.value = "HrmHolidayType" + document.forms[0].screenName.value + document.forms[0].screenMode.value;
        document.forms[0].txtSearchFields.value = "hrm.HrmHolidaytypeMst.holidayType";
        document.forms[0].txtDisplayFields.value = "holidayTypeId,holidayType";
        document.forms[0].multipleFlag.value = "false";
        showLov('<html:rewrite page="/hrms/jsp/CommonSearchScreen.jsp" />','HrmOrgHolTypeMstForm');
        return true;
}
function doGetInsertData()
{}

</script>
                
              
              
              
              
              
              
              
              
              
              
              
              
              
              
              
              
              
              
              
              
              
              
              
   