220 lines
7.6 KiB
Plaintext
220 lines
7.6 KiB
Plaintext
<%@ 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="HrmSepCatMstrForm" action="HrmSepCatMstrBaseAction" type="wenrgise.hrms.webtier.form.HrmSepCatMstForm">
|
|
<bean:define id="ParentForm" name="HrmSepCatMstrForm" toScope="request" />
|
|
<jsp:include page="GenIconMenu.jsp" flush="true" />
|
|
<!--Top Most Blue Bar-->
|
|
<TABLE cellSpacing=0 bgColor=#bdd0ef>
|
|
<tr>
|
|
<TD colSpan=12 class=mainHeader height=10><bean:message key="hrm.HrmSeparationCategoryMaster.mainHeader" /></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 >
|
|
<!-- Header Starts -->
|
|
<TR>
|
|
<TD class=subHeader colspan=6><bean:message key="hrm.HrmSeparationCategoryMaster.subHeader1" /></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.HrmSeparationCategoryMaster.separationCode" /></td>
|
|
<td colspan="3"><enrgise:text property="separationCode" altKey="hrm.HrmSeparationCategoryMaster.separationCode" maxlength="20" size="23" styleClass="required" disabledClass="required" onchange="doChangeHeader();" /><enrgise:img height="16" align="center" name="HrmSepCatMstrForm" onclick="return ShowSepCode();" src="../includes/images/lov.jpg" property="butSeparationCode" />
|
|
<enrgise:text property="description" altKey="hrm.HrmSeparationCategoryMaster.description" disabledClass="locked" maxlength="40" size="45" styleClass="optional" onchange="doChangeHeader();"/></td>
|
|
<td class="labelText"><bean:message key="hrm.HrmSeparationCategoryMaster.noticePeriod" /></td>
|
|
<td><enrgise:text property="noticePeriod" altKey="hrm.HrmSeparationCategoryMaster.noticePeriod" onkeypress="isInteger(event)" maxlength="3" size="18" styleClass="optional" disabledClass="locked" onchange="doChangeHeader();" /> <bean:message key="hrm.HrmSeparationCategoryMaster.months" /></td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
<td class="labelText"><bean:message key="hrm.HrmSeparationCategoryMaster.remarks" /></td>
|
|
<td colspan="3"><enrgise:textarea property="remarks" altKey="hrm.HrmSeparationCategoryMaster.remarks" cols="78" rows="2" styleClass="optional" disabledClass="locked" onchange="doChangeHeader();" />
|
|
|
|
|
|
<td class="labelText"><bean:message key="hrm.HrmSeparationCategoryMaster.separationType" /></td>
|
|
<td><enrgise:select property="separationType" name="HrmSepCatMstrForm" alt="separationType" styleClass="required" disabledClass="required" onchange="doChangeHeader(); " >
|
|
<enrgise:option value="" ><bean:message key="hrm.pleaseSelect" /></enrgise:option>
|
|
<enrgise:option value="O" > <bean:message key="hrm.HrmSeparationCategoryMaster.Office" /></enrgise:option>
|
|
<enrgise:option value="S" > <bean:message key="hrm.HrmSeparationCategoryMaster.Self" /></enrgise:option>
|
|
<enrgise:option value="B" > <bean:message key="hrm.HrmSeparationCategoryMaster.Both" /></enrgise:option>
|
|
</enrgise:select></td>
|
|
|
|
</tr>
|
|
|
|
<tr height="10">
|
|
<td colspan="6"></td>
|
|
</tr>
|
|
|
|
|
|
</table>
|
|
|
|
|
|
<table cellspacing=0 cellpadding=0 border=0>
|
|
<!-- Detail Information Row starts -->
|
|
|
|
<!-- 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 align=right bgColor=#4682b4><img src="../includes/images/man.jpg"></td>
|
|
</TR>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
|
|
<!-- Container Table Ending Columns Starts-->
|
|
</TD>
|
|
|
|
</TR>
|
|
</TBODY>
|
|
</TABLE>
|
|
|
|
<!-- Container Table Ends -->
|
|
<html:hidden name="HrmSepCatMstrForm" property="screenName" value="HrmSepCatMst" />
|
|
<html:hidden name="HrmSepCatMstrForm" property="forwardedPage" />
|
|
<html:hidden name="HrmSepCatMstrForm" property="positionRequested" />
|
|
<html:hidden name="HrmSepCatMstrForm" property="screenMode" />
|
|
|
|
|
|
<html:hidden property="separationId" name="HrmSepCatMstrForm" />
|
|
|
|
<input type="hidden" name="multipleFlag" >
|
|
<input type="hidden" name="queryParam" >
|
|
|
|
<html:hidden property="lovKey" name="HrmSepCatMstrForm" />
|
|
<html:hidden property="txtSearchFields" name="HrmSepCatMstrForm" />
|
|
<html:hidden property="txtDisplayFields" name="HrmSepCatMstrForm" />
|
|
<html:hidden property="txtIndex" name="HrmSepCatMstrForm" />
|
|
|
|
<html:hidden property="userPageRequested" name="HrmSepCatMstrForm" />
|
|
<html:hidden property="userPositionRequested" name="HrmSepCatMstrForm" />
|
|
<html:hidden property="pageRequested" name="HrmSepCatMstrForm" />
|
|
<html:hidden property="headerDataChanged" name="HrmSepCatMstrForm" />
|
|
|
|
<html:hidden property="headerPrimaryKey" name="HrmSepCatMstrForm" />
|
|
<html:hidden property="firstLoad" name="HrmSepCatMstrForm" />
|
|
|
|
</html:form>
|
|
</body>
|
|
</html:html>
|
|
|
|
<script language="javascript">
|
|
function doChangeHeader()
|
|
{
|
|
document.forms[0].headerDataChanged.value="true";
|
|
}
|
|
function doQueryMode()
|
|
{
|
|
|
|
return "HrmSepCatMstrQueryModeAction.do";
|
|
}
|
|
|
|
|
|
function doInsertMode()
|
|
{
|
|
|
|
return "HrmSepCatMstrNewModeAction.do";
|
|
}
|
|
|
|
|
|
function doExecute()
|
|
{
|
|
|
|
return "HrmSepCatMstrGetHeaderAction.do";
|
|
}
|
|
|
|
function doSave()
|
|
{
|
|
|
|
return "HrmSepCatMstrSaveAction.do";
|
|
|
|
}
|
|
|
|
function doDelete()
|
|
{
|
|
|
|
return "HrmSepCatMstrDeleteAction.do";
|
|
|
|
}
|
|
function doExit()
|
|
{
|
|
|
|
return "HrmSepCatMstrExitAction.do";
|
|
|
|
}
|
|
function doRefresh()
|
|
{
|
|
|
|
return "HrmSepCatMstrRefreshAction.do";
|
|
|
|
}
|
|
|
|
function doPrevHeader()
|
|
{
|
|
return "HrmSepCatMstrGetNextHeaderAction.do";
|
|
}
|
|
|
|
function doNextHeader()
|
|
{
|
|
return "HrmSepCatMstrGetNextHeaderAction.do";
|
|
}
|
|
|
|
function doJumpHeader()
|
|
{
|
|
return "HrmSepCatMstrFirstGetNextHeaderAction.do";
|
|
}
|
|
function doOnLoad()
|
|
{
|
|
if(document.forms[0].firstLoad.value!="false")
|
|
{
|
|
return "HrmSepCatMstrOnLoadAction.do";
|
|
}
|
|
}
|
|
function ShowSepCode()
|
|
{
|
|
|
|
document.forms[0].lovKey.value = "SeparationCode" + document.forms[0].screenName.value + document.forms[0].screenMode.value;
|
|
document.forms[0].txtSearchFields.value = "hrm.HrmSepCatMstrForm.sepCode,hrm.HrmSepCatMstrForm.sepDesc";
|
|
document.forms[0].txtDisplayFields.value = "separationId,separationCode,description";
|
|
document.forms[0].multipleFlag.value="false";
|
|
showLov('<html:rewrite page="/hrms/jsp/CommonSearchScreen.jsp" />','HrmSepCatMstrForm');
|
|
return true;
|
|
}
|
|
|
|
</script> |